home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.0 for Developers
/
QuickTime 1.0 for Developers.iso
/
System Stuff
/
Sound Mgr. Drivers
/
Farallon
/
MacRecorder® Driver 1.01
/
MacRecorder® Driver 1.01.rsrc
/
INIT_128.txt
< prev
next >
Wrap
Text File
|
1991-06-06
|
155KB
|
2,741 lines
start:
00000000 600E bra +0x10 /* 00000010 */
00000002 0000 494E ori.b D0, 0x4E /* 'N' */
00000006 4954 chk.w D4, [A4]
00000008 0080 0000 0000 ori.l D0, 0x0
0000000E 0000 41FA ori.b D0, 0xFA
// begin alternate branch 00000010-00000014
label00000010:
00000010 41FA FFEE lea.l A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
// end alternate branch 00000010-00000014
label00000010: // (misaligned)
00000012 FFEE .invalid <<F/7/7>>
00000014 4E71 nop
00000016 4E71 nop
00000018 6000 0F5C bra +0xF5E /* 00000F76 */
0000001C 4EFA 001E jmp [PC + 0x1E /* 0000003C */]
00000020 4EFA 002E jmp [PC + 0x2E /* 00000050 */]
00000024 4EFA 003E jmp [PC + 0x3E /* 00000064 */]
00000028 4EFA 0056 jmp [PC + 0x56 /* 00000080 */]
0000002C 4EFA 0088 jmp [PC + 0x88 /* 000000B6 */]
00000030 4EFA 00A4 jmp [PC + 0xA4 /* 000000D6 */]
fn00000034:
00000034 4EFA 00C2 jmp [PC + 0xC2 /* 000000F8 */]
00000038 4EFA 00DE jmp [PC + 0xDE /* 00000118 */]
label0000003C:
0000003C 205F movea.l A0, [A7]+
0000003E 3218 move.w D1, [A0]+
label00000040:
00000040 3418 move.w D2, [A0]+
00000042 B058 cmp.w D0, [A0]+
00000044 57C9 FFFA dbeq D1, -0x8 /* 00000040 */
00000048 4A42 tst.w D2
label0000004A:
0000004A 67FE beq -0x0 /* 0000004A */
0000004C 4EF0 20FC jmp [A0 + D2.w - 0x4]
label00000050:
00000050 205F movea.l A0, [A7]+
00000052 3218 move.w D1, [A0]+
label00000054:
00000054 3418 move.w D2, [A0]+
00000056 B098 cmp.l D0, [A0]+
00000058 57C9 FFFA dbeq D1, -0x8 /* 00000054 */
0000005C 4A42 tst.w D2
label0000005E:
0000005E 67FE beq -0x0 /* 0000005E */
00000060 4EF0 20FA jmp [A0 + D2.w - 0x6]
label00000064:
00000064 205F movea.l A0, [A7]+
00000066 3218 move.w D1, [A0]+
00000068 3418 move.w D2, [A0]+
0000006A B042 cmp.w D0, D2
0000006C 6E0A bgt +0xC /* 00000078 */
0000006E 9041 sub.w D0, D1
00000070 6D06 blt +0x8 /* 00000078 */
00000072 D040 add.w D0, D0
00000074 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label00000078:
00000078 3010 move.w D0, [A0]
label0000007A:
0000007A 67FE beq -0x0 /* 0000007A */
0000007C 4EF0 0000 jmp [A0 + D0.w]
label00000080:
00000080 202F 0004 move.l D0, [A7 + 0x4]
00000084 2F41 0004 move.l [A7 + 0x4], D1
00000088 222F 0008 move.l D1, [A7 + 0x8]
0000008C 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000090 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00000094 2400 move.l D2, D0
00000096 2601 move.l D3, D1
00000098 4842 swap.w D2
0000009A C4C3 mulu.w D2, D3
0000009C 2800 move.l D4, D0
0000009E 2A01 move.l D5, D1
000000A0 4845 swap.w D5
000000A2 C8C5 mulu.w D4, D5
000000A4 D444 add.w D2, D4
000000A6 4842 swap.w D2
000000A8 4242 clr.w D2
000000AA C0C1 mulu.w D0, D1
000000AC D082 add.l D0, D2
000000AE 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
000000B2 221F move.l D1, [A7]+
000000B4 4E75 rts
label000000B6:
000000B6 202F 0004 move.l D0, [A7 + 0x4]
000000BA 2F41 0004 move.l [A7 + 0x4], D1
000000BE 222F 0008 move.l D1, [A7 + 0x8]
000000C2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000C6 48E7 3100 movem.l -[A7], D2,D3,D7
000000CA 4EBA 009C jsr [PC + 0x9C /* 00000168 */]
000000CE 4CDF 008C movem.l D2,D3,D7, [A7]+
000000D2 221F move.l D1, [A7]+
000000D4 4E75 rts
label000000D6:
000000D6 202F 0004 move.l D0, [A7 + 0x4]
000000DA 2F41 0004 move.l [A7 + 0x4], D1
000000DE 222F 0008 move.l D1, [A7 + 0x8]
000000E2 2F5F 0004 move.l [A7 + 0x4], [A7]+
000000E6 48E7 3100 movem.l -[A7], D2,D3,D7
000000EA 4EBA 007C jsr [PC + 0x7C /* 00000168 */]
000000EE 2001 move.l D0, D1
000000F0 4CDF 008C movem.l D2,D3,D7, [A7]+
000000F4 221F move.l D1, [A7]+
000000F6 4E75 rts
label000000F8:
000000F8 202F 0004 move.l D0, [A7 + 0x4]
000000FC 2F41 0004 move.l [A7 + 0x4], D1
00000100 222F 0008 move.l D1, [A7 + 0x8]
00000104 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000108 48E7 3100 movem.l -[A7], D2,D3,D7
0000010C 4EBA 002C jsr [PC + 0x2C /* 0000013A */]
00000110 4CDF 008C movem.l D2,D3,D7, [A7]+
00000114 221F move.l D1, [A7]+
00000116 4E75 rts
label00000118:
00000118 202F 0004 move.l D0, [A7 + 0x4]
0000011C 2F41 0004 move.l [A7 + 0x4], D1
00000120 222F 0008 move.l D1, [A7 + 0x8]
00000124 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000128 48E7 3100 movem.l -[A7], D2,D3,D7
0000012C 4EBA 000C jsr [PC + 0xC /* 0000013A */]
00000130 2001 move.l D0, D1
00000132 4CDF 008C movem.l D2,D3,D7, [A7]+
00000136 221F move.l D1, [A7]+
00000138 4E75 rts
fn0000013A:
0000013A 4A80 tst.l D0
0000013C 6A1C bpl +0x1E /* 0000015A */
0000013E 4A81 tst.l D1
00000140 6A0C bpl +0xE /* 0000014E */
00000142 4480 neg.l D0
00000144 4481 neg.l D1
00000146 4EBA 0020 jsr [PC + 0x20 /* 00000168 */]
0000014A 4481 neg.l D1
0000014C 4E75 rts
label0000014E:
0000014E 4480 neg.l D0
00000150 4EBA 0016 jsr [PC + 0x16 /* 00000168 */]
00000154 4480 neg.l D0
00000156 4481 neg.l D1
00000158 4E75 rts
label0000015A:
0000015A 4A81 tst.l D1
0000015C 6A0A bpl +0xC /* 00000168 */
0000015E 4481 neg.l D1
00000160 4EBA 0006 jsr [PC + 0x6 /* 00000168 */]
00000164 4480 neg.l D0
00000166 4E75 rts
fn00000168:
00000168 2E3C 0000 FFFF move.l D7, 0xFFFF
0000016E B280 cmp.l D1, D0
00000170 6306 bls +0x8 /* 00000178 */
00000172 2200 move.l D1, D0
00000174 7000 moveq.l D0, 0x00
00000176 4E75 rts
label00000178:
00000178 B087 cmp.l D0, D7
0000017A 620C bhi +0xE /* 00000188 */
0000017C 80C1 divu.w D0, D1
0000017E 4840 swap.w D0
00000180 3200 move.w D1, D0
00000182 4240 clr.w D0
00000184 4840 swap.w D0
00000186 4E75 rts
label00000188:
00000188 B287 cmp.l D1, D7
0000018A 621A bhi +0x1C /* 000001A6 */
0000018C 2E00 move.l D7, D0
0000018E 4240 clr.w D0
00000190 4840 swap.w D0
00000192 80C1 divu.w D0, D1
00000194 4840 swap.w D0
00000196 4847 swap.w D7
00000198 3E00 move.w D7, D0
0000019A 4847 swap.w D7
0000019C 8EC1 divu.w D7, D1
0000019E 3007 move.w D0, D7
000001A0 4847 swap.w D7
000001A2 3207 move.w D1, D7
000001A4 4E75 rts
label000001A6:
000001A6 2400 move.l D2, D0
000001A8 2601 move.l D3, D1
label000001AA:
000001AA E288 lsr D0, 1
000001AC E289 lsr D1, 1
000001AE B287 cmp.l D1, D7
000001B0 62F8 bhi -0x6 /* 000001AA */
000001B2 80C1 divu.w D0, D1
000001B4 C087 and.l D0, D7
label000001B6:
000001B6 3203 move.w D1, D3
000001B8 C2C0 mulu.w D1, D0
000001BA 2E03 move.l D7, D3
000001BC 4847 swap.w D7
000001BE CEC0 mulu.w D7, D0
000001C0 4847 swap.w D7
000001C2 D287 add.l D1, D7
000001C4 6508 bcs +0xA /* 000001CE */
000001C6 9282 sub.l D1, D2
000001C8 6204 bhi +0x6 /* 000001CE */
000001CA 4481 neg.l D1
000001CC 4E75 rts
label000001CE:
000001CE 5340 subq.w D0, 1
000001D0 60E4 bra -0x1A /* 000001B6 */
000001D2 0050 0003 ori.w [A0], 0x3
fn000001D6:
000001D6 4E56 FF96 link A6, -0x006A
000001DA 3F3C A800 move.w -[A7], 0xA800
000001DE 4EBA 12E8 jsr [PC + 0x12E8 /* 000014C8 */]
000001E2 548F addq.l A7, 2
000001E4 4A00 tst.b D0
000001E6 6700 04E4 beq +0x4E6 /* 000006CC */
000001EA 42A7 clr.l -[A7]
000001EC 203C 000C 0008 move.l D0, 0xC0008
000001F2 A800 syscall SoundDispatch
000001F4 201F move.l D0, [A7]+
000001F6 4A80 tst.l D0
000001F8 6700 04CA beq +0x4CC /* 000006C4 */
000001FC 3F3C A1AD move.w -[A7], 0xA1AD
00000200 4EBA 12C6 jsr [PC + 0x12C6 /* 000014C8 */]
00000204 548F addq.l A7, 2
00000206 4A00 tst.b D0
00000208 672C beq +0x2E /* 00000236 */
0000020A 4267 clr.w -[A7]
0000020C 4879 7379 7376 push.l 0x73797376 /* 'sysv' */
00000212 486E FFC2 pea.l [A6 - 0x3E]
00000216 225F movea.l A1, [A7]+
00000218 201F move.l D0, [A7]+
0000021A A1AD syscall Gestalt, flags=1
0000021C 2288 move.l [A1], A0
0000021E 3E80 move.w [A7], D0
00000220 301F move.w D0, [A7]+
00000222 3D40 FFF6 move.w [A6 - 0xA], D0
00000226 203C 0000 FFFF move.l D0, 0xFFFF
0000022C C0AE FFC2 and.l D0, [A6 - 0x3E]
00000230 3D40 FFB0 move.w [A6 - 0x50], D0
00000234 601A bra +0x1C /* 00000250 */
label00000236:
00000236 4267 clr.w -[A7]
00000238 3F3C 0001 move.w -[A7], 0x1
0000023C 486E FFB2 pea.l [A6 - 0x4E]
00000240 4EBA 12F0 jsr [PC + 0x12F0 /* 00001532 */]
00000244 301F move.w D0, [A7]+
00000246 3D40 FFF6 move.w [A6 - 0xA], D0
0000024A 3D6E FFB6 FFB0 move.w [A6 - 0x50], [A6 - 0x4A]
label00000250:
00000250 0C6E 0606 FFB0 cmpi.w [A6 - 0x50], 0x606
00000256 6712 beq +0x14 /* 0000026A */
00000258 0C6E 0607 FFB0 cmpi.w [A6 - 0x50], 0x607
0000025E 670A beq +0xC /* 0000026A */
00000260 0C6E 0700 FFB0 cmpi.w [A6 - 0x50], 0x700
00000266 6600 0454 bne +0x456 /* 000006BC */
label0000026A:
0000026A 4267 clr.w -[A7]
0000026C 3F3C 4000 move.w -[A7], 0x4000 /* '@\0' */
00000270 42A7 clr.l -[A7]
00000272 42A7 clr.l -[A7]
00000274 42A7 clr.l -[A7]
00000276 42A7 clr.l -[A7]
00000278 42A7 clr.l -[A7]
0000027A 42A7 clr.l -[A7]
0000027C 4EBA 0464 jsr [PC + 0x464 /* 000006E2 */]
00000280 301F move.w D0, [A7]+
00000282 3D40 FFF6 move.w [A6 - 0xA], D0
00000286 0C6E FF2B FFF6 cmpi.w [A6 - 0xA], 0xFF2B
0000028C 6600 0444 bne +0x446 /* 000006D2 */
00000290 426E FFF6 clr.w [A6 - 0xA]
00000294 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
00000298 2068 0110 movea.l A0, [A0 + 0x110]
0000029C 2D68 000E FFFC move.l [A6 - 0x4], [A0 + 0xE]
000002A2 4AAE FFFC tst.l [A6 - 0x4]
000002A6 6646 bne +0x48 /* 000002EE */
000002A8 42A7 clr.l -[A7]
000002AA 4879 6273 7423 push.l 0x62737423 /* 'bst#' */
000002B0 3F3C 0001 move.w -[A7], 0x1
000002B4 A9A0 syscall GetResource
000002B6 205F movea.l A0, [A7]+
000002B8 2D48 FFFC move.l [A6 - 0x4], A0
000002BC 4AAE FFFC tst.l [A6 - 0x4]
000002C0 6716 beq +0x18 /* 000002D8 */
000002C2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000002C6 A992 syscall DetachResource
000002C8 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
000002CC 2068 0110 movea.l A0, [A0 + 0x110]
000002D0 216E FFFC 000E move.l [A0 + 0xE], [A6 - 0x4]
000002D6 6016 bra +0x18 /* 000002EE */
label000002D8:
000002D8 4267 clr.w -[A7]
000002DA A9AF syscall ResError
000002DC 301F move.w D0, [A7]+
000002DE 3D40 FFF6 move.w [A6 - 0xA], D0
000002E2 4A6E FFF6 tst.w [A6 - 0xA]
000002E6 6606 bne +0x8 /* 000002EE */
000002E8 3D7C FF2A FFF6 move.w [A6 - 0xA], 0xFF2A
label000002EE:
000002EE 4AAE FFFC tst.l [A6 - 0x4]
000002F2 6700 03DE beq +0x3E0 /* 000006D2 */
000002F6 42A7 clr.l -[A7]
000002F8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000002FC 4EBA 1438 jsr [PC + 0x1438 /* 00001736 */]
00000300 205F movea.l A0, [A7]+
00000302 2D48 FFF8 move.l [A6 - 0x8], A0
00000306 4267 clr.w -[A7]
00000308 4EBA 1468 jsr [PC + 0x1468 /* 00001772 */]
0000030C 301F move.w D0, [A7]+
0000030E 3D40 FFF6 move.w [A6 - 0xA], D0
00000312 4A40 tst.w D0
00000314 6600 03BC bne +0x3BE /* 000006D2 */
00000318 42A7 clr.l -[A7]
0000031A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000031E 4EBA 13F6 jsr [PC + 0x13F6 /* 00001716 */]
00000322 201F move.l D0, [A7]+
00000324 2D40 FFF2 move.l [A6 - 0xE], D0
00000328 202E FFF2 move.l D0, [A6 - 0xE]
0000032C 0680 0000 0280 addi.l D0, 0x280
00000332 2D40 FFEE move.l [A6 - 0x12], D0
00000336 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000033A 2F2E FFEE move.l -[A7], [A6 - 0x12]
0000033E 4EBA 13EA jsr [PC + 0x13EA /* 0000172A */]
00000342 4267 clr.w -[A7]
00000344 4EBA 142C jsr [PC + 0x142C /* 00001772 */]
00000348 301F move.w D0, [A7]+
0000034A 3D40 FFF6 move.w [A6 - 0xA], D0
0000034E 4A40 tst.w D0
00000350 6700 007E beq +0x80 /* 000003D0 */
00000354 42A7 clr.l -[A7]
00000356 4EBA 1344 jsr [PC + 0x1344 /* 0000169C */]
0000035A 205F movea.l A0, [A7]+
0000035C 2D48 FFEA move.l [A6 - 0x16], A0
00000360 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000364 4EBA 1340 jsr [PC + 0x1340 /* 000016A6 */]
00000368 42A7 clr.l -[A7]
0000036A 4879 7FFF FFFF push.l 0x7FFFFFFF
00000370 4EBA 133E jsr [PC + 0x133E /* 000016B0 */]
00000374 201F move.l D0, [A7]+
00000376 42A7 clr.l -[A7]
00000378 2F2E FFEE move.l -[A7], [A6 - 0x12]
0000037C 4EBA 1382 jsr [PC + 0x1382 /* 00001700 */]
00000380 205F movea.l A0, [A7]+
00000382 2D48 FFE6 move.l [A6 - 0x1A], A0
00000386 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000038A 4EBA 131A jsr [PC + 0x131A /* 000016A6 */]
0000038E 4AAE FFE6 tst.l [A6 - 0x1A]
00000392 6736 beq +0x38 /* 000003CA */
00000394 206E FFFC movea.l A0, [A6 - 0x4]
00000398 2F10 move.l -[A7], [A0]
0000039A 206E FFE6 movea.l A0, [A6 - 0x1A]
0000039E 2F10 move.l -[A7], [A0]
000003A0 2F2E FFF2 move.l -[A7], [A6 - 0xE]
000003A4 4EBA 13BC jsr [PC + 0x13BC /* 00001762 */]
000003A8 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
000003AC 2068 0110 movea.l A0, [A0 + 0x110]
000003B0 216E FFE6 000E move.l [A0 + 0xE], [A6 - 0x1A]
000003B6 2F2E FFFC move.l -[A7], [A6 - 0x4]
000003BA 4EBA 1350 jsr [PC + 0x1350 /* 0000170C */]
000003BE 2D6E FFE6 FFFC move.l [A6 - 0x4], [A6 - 0x1A]
000003C4 426E FFF6 clr.w [A6 - 0xA]
000003C8 6006 bra +0x8 /* 000003D0 */
label000003CA:
000003CA 7094 moveq.l D0, 0xFFFFFF94
000003CC 3D40 FFF6 move.w [A6 - 0xA], D0
label000003D0:
000003D0 4A6E FFF6 tst.w [A6 - 0xA]
000003D4 6600 02FC bne +0x2FE /* 000006D2 */
000003D8 486E FF96 pea.l [A6 - 0x6A]
000003DC 3F2E FFB0 move.w -[A7], [A6 - 0x50]
000003E0 4EBA 042E jsr [PC + 0x42E /* 00000810 */]
000003E4 5C8F addq.l A7, 6
000003E6 3D40 FFF6 move.w [A6 - 0xA], D0
000003EA 4A6E FFF6 tst.w [A6 - 0xA]
000003EE 6600 02E2 bne +0x2E4 /* 000006D2 */
000003F2 42A7 clr.l -[A7]
000003F4 4879 5052 4F43 push.l 0x50524F43 /* 'PROC' */
000003FA 3F2E FF96 move.w -[A7], [A6 - 0x6A]
000003FE A9A0 syscall GetResource
00000400 205F movea.l A0, [A7]+
00000402 2D48 FFE6 move.l [A6 - 0x1A], A0
00000406 4AAE FFE6 tst.l [A6 - 0x1A]
0000040A 6700 028C beq +0x28E /* 00000698 */
0000040E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000412 A992 syscall DetachResource
00000414 486E FF96 pea.l [A6 - 0x6A]
00000418 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
0000041C 4EBA 0628 jsr [PC + 0x628 /* 00000A46 */]
00000420 508F addq.l A7, 8
00000422 42A7 clr.l -[A7]
00000424 206E FFE6 movea.l A0, [A6 - 0x1A]
00000428 2F10 move.l -[A7], [A0]
0000042A 4EBA 1398 jsr [PC + 0x1398 /* 000017C4 */]
0000042E 201F move.l D0, [A7]+
00000430 2D40 FFDA move.l [A6 - 0x26], D0
00000434 2D6E FFDA FFD6 move.l [A6 - 0x2A], [A6 - 0x26]
0000043A 206E FFD6 movea.l A0, [A6 - 0x2A]
0000043E 54AE FFD6 addq.l [A6 - 0x2A], 2
00000442 3050 movea.w A0, [A0]
00000444 D1EE FFDA add.l A0, [A6 - 0x26]
00000448 2D48 FFD2 move.l [A6 - 0x2E], A0
0000044C 206E FFD6 movea.l A0, [A6 - 0x2A]
00000450 54AE FFD6 addq.l [A6 - 0x2A], 2
00000454 3050 movea.w A0, [A0]
00000456 D1EE FFDA add.l A0, [A6 - 0x26]
0000045A 2D48 FFCE move.l [A6 - 0x32], A0
0000045E 206E FFD6 movea.l A0, [A6 - 0x2A]
00000462 54AE FFD6 addq.l [A6 - 0x2A], 2
00000466 3050 movea.w A0, [A0]
00000468 D1EE FFDA add.l A0, [A6 - 0x26]
0000046C 2D48 FFCA move.l [A6 - 0x36], A0
00000470 206E FFD6 movea.l A0, [A6 - 0x2A]
00000474 3050 movea.w A0, [A0]
00000476 D1EE FFDA add.l A0, [A6 - 0x26]
0000047A 2D48 FFC6 move.l [A6 - 0x3A], A0
0000047E 206E FFFC movea.l A0, [A6 - 0x4]
00000482 2050 movea.l A0, [A0]
00000484 3D50 FFDE move.w [A6 - 0x22], [A0]
00000488 206E FFFC movea.l A0, [A6 - 0x4]
0000048C 302E FFDE move.w D0, [A6 - 0x22]
00000490 5340 subq.w D0, 1
00000492 C1FC 0014 muls.w D0, 0x14
00000496 48C0 ext.l D0
00000498 D090 add.l D0, [A0]
0000049A 5480 addq.l D0, 2
0000049C 2D40 FFE2 move.l [A6 - 0x1E], D0
000004A0 3D7C 4000 FFE0 move.w [A6 - 0x20], 0x4000 /* '@\0' */
000004A6 6000 0066 bra +0x68 /* 0000050E */
label000004AA:
000004AA 206E FFE2 movea.l A0, [A6 - 0x1E]
000004AE 30AE FFE0 move.w [A0], [A6 - 0x20]
000004B2 7003 moveq.l D0, 0x03
000004B4 C06E FFE0 and.w D0, [A6 - 0x20]
000004B8 0C40 0001 cmpi.w D0, 0x1
000004BC 6606 bne +0x8 /* 000004C4 */
000004BE 202E FFCE move.l D0, [A6 - 0x32]
000004C2 6004 bra +0x6 /* 000004C8 */
label000004C4:
000004C4 202E FFD2 move.l D0, [A6 - 0x2E]
label000004C8:
000004C8 206E FFE2 movea.l A0, [A6 - 0x1E]
000004CC 2140 0002 move.l [A0 + 0x2], D0
000004D0 206E FFE2 movea.l A0, [A6 - 0x1E]
000004D4 216E FFCA 0006 move.l [A0 + 0x6], [A6 - 0x36]
000004DA 206E FFE2 movea.l A0, [A6 - 0x1E]
000004DE 217C 4641 5234 0010 move.l [A0 + 0x10], 0x46415234 /* 'FAR4' */
000004E6 206E FFE2 movea.l A0, [A6 - 0x1E]
000004EA 317C 0200 000E move.w [A0 + 0xE], 0x200
000004F0 206E FFE2 movea.l A0, [A6 - 0x1E]
000004F4 4268 000A clr.w [A0 + 0xA]
000004F8 206E FFE2 movea.l A0, [A6 - 0x1E]
000004FC 700F moveq.l D0, 0x0F
000004FE 3140 000C move.w [A0 + 0xC], D0
00000502 06AE 0000 0014 FFE2 addi.l [A6 - 0x1E], 0x14
0000050A 526E FFE0 addq.w [A6 - 0x20], 1
label0000050E:
0000050E 0C6E 400F FFE0 cmpi.w [A6 - 0x20], 0x400F
00000514 6394 bls -0x6A /* 000004AA */
00000516 3D7C 4100 FFE0 move.w [A6 - 0x20], 0x4100 /* 'A\0' */
0000051C 6000 0066 bra +0x68 /* 00000584 */
label00000520:
00000520 206E FFE2 movea.l A0, [A6 - 0x1E]
00000524 30AE FFE0 move.w [A0], [A6 - 0x20]
00000528 7003 moveq.l D0, 0x03
0000052A C06E FFE0 and.w D0, [A6 - 0x20]
0000052E 0C40 0001 cmpi.w D0, 0x1
00000532 6606 bne +0x8 /* 0000053A */
00000534 202E FFCE move.l D0, [A6 - 0x32]
00000538 6004 bra +0x6 /* 0000053E */
label0000053A:
0000053A 202E FFD2 move.l D0, [A6 - 0x2E]
label0000053E:
0000053E 206E FFE2 movea.l A0, [A6 - 0x1E]
00000542 2140 0002 move.l [A0 + 0x2], D0
00000546 206E FFE2 movea.l A0, [A6 - 0x1E]
0000054A 216E FFC6 0006 move.l [A0 + 0x6], [A6 - 0x3A]
00000550 206E FFE2 movea.l A0, [A6 - 0x1E]
00000554 217C 4641 5238 0010 move.l [A0 + 0x10], 0x46415238 /* 'FAR8' */
0000055C 206E FFE2 movea.l A0, [A6 - 0x1E]
00000560 317C 0201 000E move.w [A0 + 0xE], 0x201
00000566 206E FFE2 movea.l A0, [A6 - 0x1E]
0000056A 4268 000A clr.w [A0 + 0xA]
0000056E 206E FFE2 movea.l A0, [A6 - 0x1E]
00000572 700F moveq.l D0, 0x0F
00000574 3140 000C move.w [A0 + 0xC], D0
00000578 06AE 0000 0014 FFE2 addi.l [A6 - 0x1E], 0x14
00000580 526E FFE0 addq.w [A6 - 0x20], 1
label00000584:
00000584 0C6E 410F FFE0 cmpi.w [A6 - 0x20], 0x410F
0000058A 6394 bls -0x6A /* 00000520 */
0000058C 206E FFE2 movea.l A0, [A6 - 0x1E]
00000590 4250 clr.w [A0]
00000592 206E FFE2 movea.l A0, [A6 - 0x1E]
00000596 42A8 0002 clr.l [A0 + 0x2]
0000059A 206E FFE2 movea.l A0, [A6 - 0x1E]
0000059E 42A8 0006 clr.l [A0 + 0x6]
000005A2 206E FFE2 movea.l A0, [A6 - 0x1E]
000005A6 42A8 0010 clr.l [A0 + 0x10]
000005AA 206E FFE2 movea.l A0, [A6 - 0x1E]
000005AE 4268 000E clr.w [A0 + 0xE]
000005B2 206E FFE2 movea.l A0, [A6 - 0x1E]
000005B6 4268 000A clr.w [A0 + 0xA]
000005BA 206E FFE2 movea.l A0, [A6 - 0x1E]
000005BE 4268 000C clr.w [A0 + 0xC]
000005C2 206E FFFC movea.l A0, [A6 - 0x4]
000005C6 2050 movea.l A0, [A0]
000005C8 0650 0020 addi.w [A0], 0x20 /* ' ' */
000005CC 3F3C A1AD move.w -[A7], 0xA1AD
000005D0 4EBA 0EF6 jsr [PC + 0xEF6 /* 000014C8 */]
000005D4 548F addq.l A7, 2
000005D6 4A00 tst.b D0
000005D8 673A beq +0x3C /* 00000614 */
000005DA 4267 clr.w -[A7]
000005DC 4879 6864 7772 push.l 0x68647772 /* 'hdwr' */
000005E2 486E FFC2 pea.l [A6 - 0x3E]
000005E6 225F movea.l A1, [A7]+
000005E8 201F move.l D0, [A7]+
000005EA A1AD syscall Gestalt, flags=1
000005EC 2288 move.l [A1], A0
000005EE 3E80 move.w [A7], D0
000005F0 301F move.w D0, [A7]+
000005F2 3D40 FFF6 move.w [A6 - 0xA], D0
000005F6 4A6E FFF6 tst.w [A6 - 0xA]
000005FA 6618 bne +0x1A /* 00000614 */
000005FC 7008 moveq.l D0, 0x08
000005FE C0AE FFC2 and.l D0, [A6 - 0x3E]
00000602 4A80 tst.l D0
00000604 670E beq +0x10 /* 00000614 */
00000606 486E FF96 pea.l [A6 - 0x6A]
0000060A 4EBA 0488 jsr [PC + 0x488 /* 00000A94 */]
0000060E 588F addq.l A7, 4
00000610 3D40 FFF6 move.w [A6 - 0xA], D0
label00000614:
00000614 4A6E FFF6 tst.w [A6 - 0xA]
00000618 6700 00B8 beq +0xBA /* 000006D2 */
0000061C 0C6E 0700 FFB0 cmpi.w [A6 - 0x50], 0x700
00000622 6600 00AE bne +0xB0 /* 000006D2 */
00000626 206E FFFC movea.l A0, [A6 - 0x4]
0000062A 2050 movea.l A0, [A0]
0000062C 0650 FFE0 addi.w [A0], 0xFFE0
00000630 206E FFFC movea.l A0, [A6 - 0x4]
00000634 226E FFFC movea.l A1, [A6 - 0x4]
00000638 2251 movea.l A1, [A1]
0000063A 3011 move.w D0, [A1]
0000063C 5340 subq.w D0, 1
0000063E C1FC 0014 muls.w D0, 0x14
00000642 48C0 ext.l D0
00000644 D090 add.l D0, [A0]
00000646 5480 addq.l D0, 2
00000648 2D40 FFE2 move.l [A6 - 0x1E], D0
0000064C 206E FFE2 movea.l A0, [A6 - 0x1E]
00000650 4250 clr.w [A0]
00000652 206E FFE2 movea.l A0, [A6 - 0x1E]
00000656 42A8 0002 clr.l [A0 + 0x2]
0000065A 206E FFE2 movea.l A0, [A6 - 0x1E]
0000065E 42A8 0006 clr.l [A0 + 0x6]
00000662 206E FFE2 movea.l A0, [A6 - 0x1E]
00000666 42A8 0010 clr.l [A0 + 0x10]
0000066A 206E FFE2 movea.l A0, [A6 - 0x1E]
0000066E 4268 000E clr.w [A0 + 0xE]
00000672 206E FFE2 movea.l A0, [A6 - 0x1E]
00000676 4268 000A clr.w [A0 + 0xA]
0000067A 206E FFE2 movea.l A0, [A6 - 0x1E]
0000067E 4268 000C clr.w [A0 + 0xC]
00000682 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000686 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000068A 4EBA 109E jsr [PC + 0x109E /* 0000172A */]
0000068E 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00000692 4EBA 1078 jsr [PC + 0x1078 /* 0000170C */]
00000696 603A bra +0x3C /* 000006D2 */
label00000698:
00000698 4267 clr.w -[A7]
0000069A A9AF syscall ResError
0000069C 301F move.w D0, [A7]+
0000069E 3D40 FFF6 move.w [A6 - 0xA], D0
000006A2 4A6E FFF6 tst.w [A6 - 0xA]
000006A6 6606 bne +0x8 /* 000006AE */
000006A8 3D7C FF2A FFF6 move.w [A6 - 0xA], 0xFF2A
label000006AE:
000006AE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000006B2 2F2E FFF2 move.l -[A7], [A6 - 0xE]
000006B6 4EBA 1072 jsr [PC + 0x1072 /* 0000172A */]
000006BA 6016 bra +0x18 /* 000006D2 */
label000006BC:
000006BC 70FC moveq.l D0, 0xFFFFFFFC
000006BE 3D40 FFF6 move.w [A6 - 0xA], D0
000006C2 600E bra +0x10 /* 000006D2 */
label000006C4:
000006C4 70FC moveq.l D0, 0xFFFFFFFC
000006C6 3D40 FFF6 move.w [A6 - 0xA], D0
000006CA 6006 bra +0x8 /* 000006D2 */
label000006CC:
000006CC 70FC moveq.l D0, 0xFFFFFFFC
000006CE 3D40 FFF6 move.w [A6 - 0xA], D0
label000006D2:
000006D2 302E FFF6 move.w D0, [A6 - 0xA]
000006D6 4E5E unlink A6
000006D8 4E75 rts
000006DA 4253 clr.w [A3]
000006DC 494E chk.w D4, A6
000006DE 5354 subq.w [A4], 1
000006E0 414C chk.w D0, A4
fn000006E2:
000006E2 4E56 FFF6 link A6, -0x000A
000006E6 426E FFFE clr.w [A6 - 0x2]
000006EA 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
000006EE 2068 0110 movea.l A0, [A0 + 0x110]
000006F2 2D68 000E FFFA move.l [A6 - 0x6], [A0 + 0xE]
000006F8 4AAE FFFA tst.l [A6 - 0x6]
000006FC 6646 bne +0x48 /* 00000744 */
000006FE 42A7 clr.l -[A7]
00000700 4879 6273 7423 push.l 0x62737423 /* 'bst#' */
00000706 3F3C 0001 move.w -[A7], 0x1
0000070A A9A0 syscall GetResource
0000070C 205F movea.l A0, [A7]+
0000070E 2D48 FFFA move.l [A6 - 0x6], A0
00000712 4AAE FFFA tst.l [A6 - 0x6]
00000716 6716 beq +0x18 /* 0000072E */
00000718 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000071C A992 syscall DetachResource
0000071E 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
00000722 2068 0110 movea.l A0, [A0 + 0x110]
00000726 216E FFFA 000E move.l [A0 + 0xE], [A6 - 0x6]
0000072C 6016 bra +0x18 /* 00000744 */
label0000072E:
0000072E 4267 clr.w -[A7]
00000730 A9AF syscall ResError
00000732 301F move.w D0, [A7]+
00000734 3D40 FFFE move.w [A6 - 0x2], D0
00000738 4A6E FFFE tst.w [A6 - 0x2]
0000073C 6606 bne +0x8 /* 00000744 */
0000073E 3D7C FF2A FFFE move.w [A6 - 0x2], 0xFF2A
label00000744:
00000744 4A6E FFFE tst.w [A6 - 0x2]
00000748 6600 00AE bne +0xB0 /* 000007F8 */
0000074C 206E FFFA movea.l A0, [A6 - 0x6]
00000750 2050 movea.l A0, [A0]
00000752 5488 addq.l A0, 2
00000754 2D48 FFF6 move.l [A6 - 0xA], A0
00000758 6008 bra +0xA /* 00000762 */
label0000075A:
0000075A 06AE 0000 0014 FFF6 addi.l [A6 - 0xA], 0x14
label00000762:
00000762 206E FFF6 movea.l A0, [A6 - 0xA]
00000766 4AA8 0002 tst.l [A0 + 0x2]
0000076A 670C beq +0xE /* 00000778 */
0000076C 206E FFF6 movea.l A0, [A6 - 0xA]
00000770 3010 move.w D0, [A0]
00000772 B06E 0020 cmp.w D0, [A6 + 0x20]
00000776 66E2 bne -0x1C /* 0000075A */
label00000778:
00000778 206E FFF6 movea.l A0, [A6 - 0xA]
0000077C 4AA8 0002 tst.l [A0 + 0x2]
00000780 6700 0070 beq +0x72 /* 000007F2 */
00000784 4AAE 001C tst.l [A6 + 0x1C]
00000788 670C beq +0xE /* 00000796 */
0000078A 206E FFF6 movea.l A0, [A6 - 0xA]
0000078E 226E 001C movea.l A1, [A6 + 0x1C]
00000792 22A8 0002 move.l [A1], [A0 + 0x2]
label00000796:
00000796 4AAE 0018 tst.l [A6 + 0x18]
0000079A 670C beq +0xE /* 000007A8 */
0000079C 206E FFF6 movea.l A0, [A6 - 0xA]
000007A0 226E 0018 movea.l A1, [A6 + 0x18]
000007A4 22A8 0006 move.l [A1], [A0 + 0x6]
label000007A8:
000007A8 4AAE 0014 tst.l [A6 + 0x14]
000007AC 670C beq +0xE /* 000007BA */
000007AE 206E FFF6 movea.l A0, [A6 - 0xA]
000007B2 226E 0014 movea.l A1, [A6 + 0x14]
000007B6 22A8 0010 move.l [A1], [A0 + 0x10]
label000007BA:
000007BA 4AAE 0010 tst.l [A6 + 0x10]
000007BE 670C beq +0xE /* 000007CC */
000007C0 206E FFF6 movea.l A0, [A6 - 0xA]
000007C4 226E 0010 movea.l A1, [A6 + 0x10]
000007C8 32A8 000E move.w [A1], [A0 + 0xE]
label000007CC:
000007CC 4AAE 000C tst.l [A6 + 0xC]
000007D0 670C beq +0xE /* 000007DE */
000007D2 206E FFF6 movea.l A0, [A6 - 0xA]
000007D6 226E 000C movea.l A1, [A6 + 0xC]
000007DA 32A8 000A move.w [A1], [A0 + 0xA]
label000007DE:
000007DE 4AAE 0008 tst.l [A6 + 0x8]
000007E2 6714 beq +0x16 /* 000007F8 */
000007E4 206E FFF6 movea.l A0, [A6 - 0xA]
000007E8 226E 0008 movea.l A1, [A6 + 0x8]
000007EC 32A8 000C move.w [A1], [A0 + 0xC]
000007F0 6006 bra +0x8 /* 000007F8 */
label000007F2:
000007F2 3D7C FF2B FFFE move.w [A6 - 0x2], 0xFF2B
label000007F8:
000007F8 302E FFFE move.w D0, [A6 - 0x2]
000007FC 4E5E unlink A6
000007FE 205F movea.l A0, [A7]+
00000800 4FEF 001A lea.l A7, [A7 + 0x1A]
00000804 3E80 move.w [A7], D0
00000806 4ED0 jmp [A0]
00000808 534E subq.w A6, 1
0000080A 4447 neg.w D7
0000080C 4554 chk.w D2, [A4]
0000080E 4255 clr.w [A5]
fn00000810:
00000810 4E56 FFFE link A6, -0x0002
00000814 0C6E 0606 0008 cmpi.w [A6 + 0x8], 0x606
0000081A 6708 beq +0xA /* 00000824 */
0000081C 0C6E 0607 0008 cmpi.w [A6 + 0x8], 0x607
00000822 666C bne +0x6E /* 00000890 */
label00000824:
00000824 206E 000A movea.l A0, [A6 + 0xA]
00000828 4868 0008 pea.l [A0 + 0x8]
0000082C 3F3C 00DE move.w -[A7], 0xDE
00000830 3F3C 00EA move.w -[A7], 0xEA
00000834 486C 1A18 pea.l [A4 + 0x1A18]
00000838 4EBA 02EC jsr [PC + 0x2EC /* 00000B26 */]
0000083C 4FEF 000C lea.l A7, [A7 + 0xC]
00000840 3D40 FFFE move.w [A6 - 0x2], D0
00000844 4A6E FFFE tst.w [A6 - 0x2]
00000848 6600 01EC bne +0x1EE /* 00000A36 */
0000084C 206E 000A movea.l A0, [A6 + 0xA]
00000850 06A8 0000 0016 0008 addi.l [A0 + 0x8], 0x16
00000858 206E 000A movea.l A0, [A6 + 0xA]
0000085C 30BC 0080 move.w [A0], 0x80
00000860 206E 000A movea.l A0, [A6 + 0xA]
00000864 42A8 0002 clr.l [A0 + 0x2]
00000868 206E 000A movea.l A0, [A6 + 0xA]
0000086C 4268 0006 clr.w [A0 + 0x6]
00000870 41FA 0392 lea.l A0, [PC + 0x392 /* 00000C04, value 0x4E56FFEA */]
00000874 226E 000A movea.l A1, [A6 + 0xA]
00000878 2348 000C move.l [A1 + 0xC], A0
0000087C 206E 000A movea.l A0, [A6 + 0xA]
00000880 42A8 0010 clr.l [A0 + 0x10]
00000884 206E 000A movea.l A0, [A6 + 0xA]
00000888 42A8 0014 clr.l [A0 + 0x14]
0000088C 6000 01A8 bra +0x1AA /* 00000A36 */
label00000890:
00000890 206E 000A movea.l A0, [A6 + 0xA]
00000894 4868 0008 pea.l [A0 + 0x8]
00000898 3F3C 00BC move.w -[A7], 0xBC
0000089C 3F3C 00C8 move.w -[A7], 0xC8
000008A0 486C 1B02 pea.l [A4 + 0x1B02]
000008A4 4EBA 0280 jsr [PC + 0x280 /* 00000B26 */]
000008A8 4FEF 000C lea.l A7, [A7 + 0xC]
000008AC 3D40 FFFE move.w [A6 - 0x2], D0
000008B0 4A6E FFFE tst.w [A6 - 0x2]
000008B4 6650 bne +0x52 /* 00000906 */
000008B6 206E 000A movea.l A0, [A6 + 0xA]
000008BA 06A8 0000 0016 0008 addi.l [A0 + 0x8], 0x16
000008C2 206E 000A movea.l A0, [A6 + 0xA]
000008C6 30BC 0080 move.w [A0], 0x80
000008CA 41EC 1CC2 lea.l A0, [A4 + 0x1CC2]
000008CE 226E 000A movea.l A1, [A6 + 0xA]
000008D2 2348 0002 move.l [A1 + 0x2], A0
000008D6 206E 000A movea.l A0, [A6 + 0xA]
000008DA 7013 moveq.l D0, 0x13
000008DC 3140 0006 move.w [A0 + 0x6], D0
000008E0 41FA 04CC lea.l A0, [PC + 0x4CC /* 00000DAE, value 0x4E56FFEA */]
000008E4 226E 000A movea.l A1, [A6 + 0xA]
000008E8 2348 000C move.l [A1 + 0xC], A0
000008EC 41EC 1BCA lea.l A0, [A4 + 0x1BCA]
000008F0 226E 000A movea.l A1, [A6 + 0xA]
000008F4 2348 0010 move.l [A1 + 0x10], A0
000008F8 206E 000A movea.l A0, [A6 + 0xA]
000008FC 7018 moveq.l D0, 0x18
000008FE 2140 0014 move.l [A0 + 0x14], D0
00000902 6000 0132 bra +0x134 /* 00000A36 */
label00000906:
00000906 206E 000A movea.l A0, [A6 + 0xA]
0000090A 4868 0008 pea.l [A0 + 0x8]
0000090E 3F3C 00BC move.w -[A7], 0xBC
00000912 3F3C 00C8 move.w -[A7], 0xC8
00000916 486C 1BE2 pea.l [A4 + 0x1BE2]
0000091A 4EBA 020A jsr [PC + 0x20A /* 00000B26 */]
0000091E 4FEF 000C lea.l A7, [A7 + 0xC]
00000922 3D40 FFFE move.w [A6 - 0x2], D0
00000926 4A6E FFFE tst.w [A6 - 0x2]
0000092A 6650 bne +0x52 /* 0000097C */
0000092C 206E 000A movea.l A0, [A6 + 0xA]
00000930 06A8 0000 0018 0008 addi.l [A0 + 0x8], 0x18
00000938 206E 000A movea.l A0, [A6 + 0xA]
0000093C 30BC 0080 move.w [A0], 0x80
00000940 41EC 1D0E lea.l A0, [A4 + 0x1D0E]
00000944 226E 000A movea.l A1, [A6 + 0xA]
00000948 2348 0002 move.l [A1 + 0x2], A0
0000094C 206E 000A movea.l A0, [A6 + 0xA]
00000950 7017 moveq.l D0, 0x17
00000952 3140 0006 move.w [A0 + 0x6], D0
00000956 41FA 0456 lea.l A0, [PC + 0x456 /* 00000DAE, value 0x4E56FFEA */]
0000095A 226E 000A movea.l A1, [A6 + 0xA]
0000095E 2348 000C move.l [A1 + 0xC], A0
00000962 41EC 1CAA lea.l A0, [A4 + 0x1CAA]
00000966 226E 000A movea.l A1, [A6 + 0xA]
0000096A 2348 0010 move.l [A1 + 0x10], A0
0000096E 206E 000A movea.l A0, [A6 + 0xA]
00000972 7018 moveq.l D0, 0x18
00000974 2140 0014 move.l [A0 + 0x14], D0
00000978 6000 00BC bra +0xBE /* 00000A36 */
label0000097C:
0000097C 206E 000A movea.l A0, [A6 + 0xA]
00000980 4868 0008 pea.l [A0 + 0x8]
00000984 3F3C 0076 move.w -[A7], 0x76 /* 'v' */
00000988 3F3C 0082 move.w -[A7], 0x82
0000098C 486C 1D6A pea.l [A4 + 0x1D6A]
00000990 4EBA 0194 jsr [PC + 0x194 /* 00000B26 */]
00000994 4FEF 000C lea.l A7, [A7 + 0xC]
00000998 3D40 FFFE move.w [A6 - 0x2], D0
0000099C 4A6E FFFE tst.w [A6 - 0x2]
000009A0 6638 bne +0x3A /* 000009DA */
000009A2 206E 000A movea.l A0, [A6 + 0xA]
000009A6 30BC 0080 move.w [A0], 0x80
000009AA 41EC 1D0E lea.l A0, [A4 + 0x1D0E]
000009AE 226E 000A movea.l A1, [A6 + 0xA]
000009B2 2348 0002 move.l [A1 + 0x2], A0
000009B6 206E 000A movea.l A0, [A6 + 0xA]
000009BA 7017 moveq.l D0, 0x17
000009BC 3140 0006 move.w [A0 + 0x6], D0
000009C0 206E 000A movea.l A0, [A6 + 0xA]
000009C4 42A8 000C clr.l [A0 + 0xC]
000009C8 206E 000A movea.l A0, [A6 + 0xA]
000009CC 42A8 0010 clr.l [A0 + 0x10]
000009D0 206E 000A movea.l A0, [A6 + 0xA]
000009D4 42A8 0014 clr.l [A0 + 0x14]
000009D8 605C bra +0x5E /* 00000A36 */
label000009DA:
000009DA 206E 000A movea.l A0, [A6 + 0xA]
000009DE 4868 0008 pea.l [A0 + 0x8]
000009E2 3F3C 007A move.w -[A7], 0x7A /* 'z' */
000009E6 3F3C 0086 move.w -[A7], 0x86
000009EA 486C 1DEC pea.l [A4 + 0x1DEC]
000009EE 4EBA 0136 jsr [PC + 0x136 /* 00000B26 */]
000009F2 4FEF 000C lea.l A7, [A7 + 0xC]
000009F6 3D40 FFFE move.w [A6 - 0x2], D0
000009FA 4A6E FFFE tst.w [A6 - 0x2]
000009FE 6636 bne +0x38 /* 00000A36 */
00000A00 206E 000A movea.l A0, [A6 + 0xA]
00000A04 30BC 0080 move.w [A0], 0x80
00000A08 41EC 1D0E lea.l A0, [A4 + 0x1D0E]
00000A0C 226E 000A movea.l A1, [A6 + 0xA]
00000A10 2348 0002 move.l [A1 + 0x2], A0
00000A14 206E 000A movea.l A0, [A6 + 0xA]
00000A18 7017 moveq.l D0, 0x17
00000A1A 3140 0006 move.w [A0 + 0x6], D0
00000A1E 206E 000A movea.l A0, [A6 + 0xA]
00000A22 42A8 000C clr.l [A0 + 0xC]
00000A26 206E 000A movea.l A0, [A6 + 0xA]
00000A2A 42A8 0010 clr.l [A0 + 0x10]
00000A2E 206E 000A movea.l A0, [A6 + 0xA]
00000A32 42A8 0014 clr.l [A0 + 0x14]
label00000A36:
00000A36 302E FFFE move.w D0, [A6 - 0x2]
00000A3A 4E5E unlink A6
00000A3C 4E75 rts
00000A3E 4745 chk.w D3, D5
00000A40 5453 addq.w [A3], 2
00000A42 4E54 4849 link A4, -0xFFFFB7B7
fn00000A46:
00000A46 4E56 0000 link A6, 0
00000A4A 48E7 0130 movem.l -[A7], D7,A2,A3
00000A4E 266E 000C movea.l A3, [A6 + 0xC]
00000A52 206E 0008 movea.l A0, [A6 + 0x8]
00000A56 2450 movea.l A2, [A0]
00000A58 7E00 moveq.l D7, 0x00
00000A5A 6022 bra +0x24 /* 00000A7E */
label00000A5C:
00000A5C 3007 move.w D0, D7
00000A5E 48C0 ext.l D0
00000A60 E580 asl D0, 2
00000A62 D0AB 0002 add.l D0, [A3 + 0x2]
00000A66 2040 movea.l A0, D0
00000A68 3050 movea.w A0, [A0]
00000A6A D1CA add.l A0, A2
00000A6C 3007 move.w D0, D7
00000A6E 48C0 ext.l D0
00000A70 E580 asl D0, 2
00000A72 D0AB 0002 add.l D0, [A3 + 0x2]
00000A76 2240 movea.l A1, D0
00000A78 10A9 0003 move.b [A0], [A1 + 0x3]
00000A7C 5247 addq.w D7, 1
label00000A7E:
00000A7E BE6B 0006 cmp.w D7, [A3 + 0x6]
00000A82 6DD8 blt -0x26 /* 00000A5C */
00000A84 4CDF 0C80 movem.l D7,A2,A3, [A7]+
00000A88 4E5E unlink A6
00000A8A 4E75 rts
00000A8C 4D4F chk.w D6, A7
00000A8E 4449 neg.w A1
00000A90 4659 not.w [A1]+
00000A92 5245 addq.w D5, 1
fn00000A94:
00000A94 4E56 FFFA link A6, -0x0006
00000A98 426E FFFE clr.w [A6 - 0x2]
00000A9C 42AE FFFA clr.l [A6 - 0x6]
00000AA0 206E 0008 movea.l A0, [A6 + 0x8]
00000AA4 4AA8 0014 tst.l [A0 + 0x14]
00000AA8 6740 beq +0x42 /* 00000AEA */
00000AAA 42A7 clr.l -[A7]
00000AAC 206E 0008 movea.l A0, [A6 + 0x8]
00000AB0 2F28 0014 move.l -[A7], [A0 + 0x14]
00000AB4 4EBA 0C14 jsr [PC + 0xC14 /* 000016CA */]
00000AB8 205F movea.l A0, [A7]+
00000ABA 2D48 FFFA move.l [A6 - 0x6], A0
00000ABE 4AAE FFFA tst.l [A6 - 0x6]
00000AC2 671A beq +0x1C /* 00000ADE */
00000AC4 206E 0008 movea.l A0, [A6 + 0x8]
00000AC8 2F28 0010 move.l -[A7], [A0 + 0x10]
00000ACC 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000AD0 206E 0008 movea.l A0, [A6 + 0x8]
00000AD4 2F28 0014 move.l -[A7], [A0 + 0x14]
00000AD8 4EBA 0C88 jsr [PC + 0xC88 /* 00001762 */]
00000ADC 600C bra +0xE /* 00000AEA */
label00000ADE:
00000ADE 4267 clr.w -[A7]
00000AE0 4EBA 0C90 jsr [PC + 0xC90 /* 00001772 */]
00000AE4 301F move.w D0, [A7]+
00000AE6 3D40 FFFE move.w [A6 - 0x2], D0
label00000AEA:
00000AEA 4A6E FFFE tst.w [A6 - 0x2]
00000AEE 6626 bne +0x28 /* 00000B16 */
00000AF0 206E 0008 movea.l A0, [A6 + 0x8]
00000AF4 4AA8 000C tst.l [A0 + 0xC]
00000AF8 671C beq +0x1E /* 00000B16 */
00000AFA 206E 0008 movea.l A0, [A6 + 0x8]
00000AFE 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000B02 226E 0008 movea.l A1, [A6 + 0x8]
00000B06 2F29 0008 move.l -[A7], [A1 + 0x8]
00000B0A 2068 000C movea.l A0, [A0 + 0xC]
00000B0E 4E90 jsr [A0]
00000B10 508F addq.l A7, 8
00000B12 3D40 FFFE move.w [A6 - 0x2], D0
label00000B16:
00000B16 302E FFFE move.w D0, [A6 - 0x2]
00000B1A 4E5E unlink A6
00000B1C 4E75 rts
00000B1E 5041 addq.w D1, 8
00000B20 5443 addq.w D3, 2
00000B22 4853 pea.l [A3]
00000B24 4554 chk.w D2, [A4]
fn00000B26:
00000B26 4E56 FFF6 link A6, -0x000A
00000B2A 70FF moveq.l D0, 0xFFFFFFFF
00000B2C 3D40 FFFE move.w [A6 - 0x2], D0
00000B30 42A7 clr.l -[A7]
00000B32 4879 736E 7468 push.l 0x736E7468 /* 'snth' */
00000B38 3F3C 0805 move.w -[A7], 0x805
00000B3C A9A0 syscall GetResource
00000B3E 205F movea.l A0, [A7]+
00000B40 2D48 FFFA move.l [A6 - 0x6], A0
00000B44 4AAE FFFA tst.l [A6 - 0x6]
00000B48 6700 0094 beq +0x96 /* 00000BDE */
00000B4C 42A7 clr.l -[A7]
00000B4E 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000B52 4EBA 0BC2 jsr [PC + 0xBC2 /* 00001716 */]
00000B56 201F move.l D0, [A7]+
00000B58 2D40 FFF6 move.l [A6 - 0xA], D0
00000B5C 48E7 1E10 movem.l -[A7], D3,D4,D5,D6,A3
00000B60 246E FFFA movea.l A2, [A6 - 0x6]
00000B64 2452 movea.l A2, [A2]
00000B66 262E FFF6 move.l D3, [A6 - 0xA]
00000B6A 0283 FFFF FFFE andi.l D3, 0xFFFFFFFE
00000B70 D68A add.l D3, A2
00000B72 266E 0008 movea.l A3, [A6 + 0x8]
00000B76 341B move.w D2, [A3]+
00000B78 202E FFF6 move.l D0, [A6 - 0xA]
00000B7C E248 lsr D0.w, 1
00000B7E 2200 move.l D1, D0
00000B80 4841 swap.w D1
00000B82 023C 00FB andi.b ccr, 251
00000B86 6002 bra +0x4 /* 00000B8A */
label00000B88:
00000B88 B45A cmp.w D2, [A2]+
label00000B8A:
00000B8A 57C8 FFFC dbeq D0, -0x6 /* 00000B88 */
00000B8E 6706 beq +0x8 /* 00000B96 */
00000B90 51C9 FFF6 dbf D1, -0xC /* 00000B88 */
00000B94 6042 bra +0x44 /* 00000BD8 */
label00000B96:
00000B96 2803 move.l D4, D3
00000B98 988A sub.l D4, A2
00000B9A 7A00 moveq.l D5, 0x00
00000B9C 3A2E 000C move.w D5, [A6 + 0xC]
00000BA0 5545 subq.w D5, 2
00000BA2 BA84 cmp.l D5, D4
00000BA4 6232 bhi +0x34 /* 00000BD8 */
00000BA6 204A movea.l A0, A2
00000BA8 224B movea.l A1, A3
00000BAA E24D lsr D5.w, 1
00000BAC 003C 0004 ori.b ccr, 4
00000BB0 6002 bra +0x4 /* 00000BB4 */
label00000BB2:
00000BB2 B348 cmpm.w [A1]+, [A0]+
label00000BB4:
00000BB4 56CD FFFC dbne D5, -0x6 /* 00000BB2 */
00000BB8 670C beq +0xE /* 00000BC6 */
00000BBA 2C09 move.l D6, A1
00000BBC 9C8B sub.l D6, A3
00000BBE BC6E 000E cmp.w D6, [A6 + 0xE]
00000BC2 66C6 bne -0x38 /* 00000B8A */
00000BC4 60EE bra -0x10 /* 00000BB4 */
label00000BC6:
00000BC6 206E FFFA movea.l A0, [A6 - 0x6]
00000BCA 95D0 sub.l A2, [A0]
00000BCC 554A subq.w A2, 2
00000BCE 206E 0010 movea.l A0, [A6 + 0x10]
00000BD2 208A move.l [A0], A2
00000BD4 426E FFFE clr.w [A6 - 0x2]
label00000BD8:
00000BD8 4CDF 0878 movem.l D3,D4,D5,D6,A3, [A7]+
00000BDC 6016 bra +0x18 /* 00000BF4 */
label00000BDE:
00000BDE 4267 clr.w -[A7]
00000BE0 A9AF syscall ResError
00000BE2 301F move.w D0, [A7]+
00000BE4 3D40 FFFE move.w [A6 - 0x2], D0
00000BE8 4A6E FFFE tst.w [A6 - 0x2]
00000BEC 6606 bne +0x8 /* 00000BF4 */
00000BEE 3D7C FF2A FFFE move.w [A6 - 0x2], 0xFF2A
label00000BF4:
00000BF4 302E FFFE move.w D0, [A6 - 0x2]
00000BF8 4E5E unlink A6
00000BFA 4E75 rts
00000BFC 4649 not.w A1
00000BFE 4E44 trap 4
00000C00 5345 subq.w D5, 1
00000C02 5443 addq.w D3, 2
00000C04 4E56 FFEA link A6, -0x0016
00000C08 426E FFFE clr.w [A6 - 0x2]
00000C0C 41FA 00C4 lea.l A0, [PC + 0xC4 /* 00000CD2, value 0xCAF736E */]
00000C10 2D48 FFFA move.l [A6 - 0x6], A0
00000C14 41FA 018C lea.l A0, [PC + 0x18C /* 00000DA2, value 0x4E5E4E75 'N^Nu' */]
00000C18 2D48 FFF6 move.l [A6 - 0xA], A0
00000C1C 202E FFF6 move.l D0, [A6 - 0xA]
00000C20 90AE FFFA sub.l D0, [A6 - 0x6]
00000C24 2D40 FFF2 move.l [A6 - 0xE], D0
00000C28 42A7 clr.l -[A7]
00000C2A 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000C2E 4EBA 0A9A jsr [PC + 0xA9A /* 000016CA */]
00000C32 205F movea.l A0, [A7]+
00000C34 2D48 FFEE move.l [A6 - 0x12], A0
00000C38 4AAE FFEE tst.l [A6 - 0x12]
00000C3C 6700 0086 beq +0x88 /* 00000CC4 */
00000C40 42A7 clr.l -[A7]
00000C42 3F3C A9A0 move.w -[A7], 0xA9A0
00000C46 1F3C 0001 move.b -[A7], 0x1
00000C4A 4EBA 0B2E jsr [PC + 0xB2E /* 0000177A */]
00000C4E 201F move.l D0, [A7]+
00000C50 2D40 FFEA move.l [A6 - 0x16], D0
00000C54 41FA 013C lea.l A0, [PC + 0x13C /* 00000D92, value 0x0, cstring "" */]
00000C58 20AE FFEA move.l [A0], [A6 - 0x16]
00000C5C 42A7 clr.l -[A7]
00000C5E 3F3C A9A2 move.w -[A7], 0xA9A2
00000C62 1F3C 0001 move.b -[A7], 0x1
00000C66 4EBA 0B12 jsr [PC + 0xB12 /* 0000177A */]
00000C6A 201F move.l D0, [A7]+
00000C6C 2D40 FFEA move.l [A6 - 0x16], D0
00000C70 41FA 012C lea.l A0, [PC + 0x12C /* 00000D9E, value 0x0, cstring "" */]
00000C74 20AE FFEA move.l [A0], [A6 - 0x16]
00000C78 41FA 011C lea.l A0, [PC + 0x11C /* 00000D96, value 0x0, cstring "" */]
00000C7C 20AE 0008 move.l [A0], [A6 + 0x8]
00000C80 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000C84 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000C88 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000C8C 4EBA 0AD4 jsr [PC + 0xAD4 /* 00001762 */]
00000C90 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000C94 3F3C A9A0 move.w -[A7], 0xA9A0
00000C98 1F3C 0001 move.b -[A7], 0x1
00000C9C 4EBA 0AF4 jsr [PC + 0xAF4 /* 00001792 */]
00000CA0 41FA 0080 lea.l A0, [PC + 0x80 /* 00000D22, value 0x48E78080 */]
00000CA4 43FA 002C lea.l A1, [PC + 0x2C /* 00000CD2, value 0xCAF736E */]
00000CA8 91C9 sub.l A0, A1
00000CAA D1EE FFEE add.l A0, [A6 - 0x12]
00000CAE 2D48 FFEE move.l [A6 - 0x12], A0
00000CB2 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000CB6 3F3C A9A2 move.w -[A7], 0xA9A2
00000CBA 1F3C 0001 move.b -[A7], 0x1
00000CBE 4EBA 0AD2 jsr [PC + 0xAD2 /* 00001792 */]
00000CC2 6006 bra +0x8 /* 00000CCA */
label00000CC4:
00000CC4 7094 moveq.l D0, 0xFFFFFF94
00000CC6 3D40 FFFE move.w [A6 - 0x2], D0
label00000CCA:
00000CCA 302E FFFE move.w D0, [A6 - 0x2]
00000CCE 6000 00D2 bra +0xD4 /* 00000DA2 */
00000CD2 0CAF 736E 7468 0006 cmpi.l [A7 + 0x6], 0x736E7468 /* 'snth' */
00000CDA 661A bne +0x1C /* 00000CF6 */
00000CDC 0C6F 0805 0004 cmpi.w [A7 + 0x4], 0x805
00000CE2 6612 bne +0x14 /* 00000CF6 */
00000CE4 2F57 000A move.l [A7 + 0xA], [A7]
00000CE8 3EAF 0004 move.w [A7], [A7 + 0x4]
00000CEC 2F6F 0006 0002 move.l [A7 + 0x2], [A7 + 0x6]
00000CF2 487A 0008 pea.l [PC + 0x8 /* 00000CFC, value 0x20572EAF */]
label00000CF6:
00000CF6 2F3A 009A move.l -[A7], [PC + 0x9A /* 00000D92, value 0x0, cstring "" */]
00000CFA 4E75 rts
00000CFC 2057 movea.l A0, [A7]
00000CFE 2EAF 0004 move.l [A7], [A7 + 0x4]
00000D02 2F48 0004 move.l [A7 + 0x4], A0
00000D06 6718 beq +0x1A /* 00000D20 */
00000D08 41FA 0090 lea.l A0, [PC + 0x90 /* 00000D9A, value 0x0, cstring "" */]
00000D0C 20AF 0004 move.l [A0], [A7 + 0x4]
00000D10 2050 movea.l A0, [A0]
00000D12 2010 move.l D0, [A0]
00000D14 670A beq +0xC /* 00000D20 */
00000D16 2040 movea.l A0, D0
00000D18 D1FA 007C add.l A0, [PC + 0x7C /* 00000D96, value 0x0, cstring "" */]
00000D1C 30BC 80FF move.w [A0], 0x80FF
label00000D20:
00000D20 4E75 rts
00000D22 48E7 8080 movem.l -[A7], D0,A0
00000D26 207A 0072 movea.l A0, [PC + 0x72 /* 00000D9A, value 0x0, cstring "" */]
00000D2A B1EF 000C cmpa.l A0, [A7 + 0xC]
00000D2E 6658 bne +0x5A /* 00000D88 */
00000D30 5D4F subq.w A7, 6
00000D32 2F2F 0012 move.l -[A7], [A7 + 0x12]
00000D36 486F 0004 pea.l [A7 + 0x4]
00000D3A 486F 000A pea.l [A7 + 0xA]
00000D3E 42A7 clr.l -[A7]
00000D40 A9A8 syscall GetResInfo
00000D42 0CAF 736E 7468 0002 cmpi.l [A7 + 0x2], 0x736E7468 /* 'snth' */
00000D4A 6634 bne +0x36 /* 00000D80 */
00000D4C 0C57 0805 cmpi.w [A7], 0x805
00000D50 662E bne +0x30 /* 00000D80 */
00000D52 5C4F addq.w A7, 6
00000D54 2F2F 000C move.l -[A7], [A7 + 0xC]
00000D58 487A 0008 pea.l [PC + 0x8 /* 00000D62, value 0x202F000C, cstring " /" */]
00000D5C 2F3A 0040 move.l -[A7], [PC + 0x40 /* 00000D9E, value 0x0, cstring "" */]
00000D60 4E75 rts
00000D62 202F 000C move.l D0, [A7 + 0xC]
00000D66 6710 beq +0x12 /* 00000D78 */
00000D68 2040 movea.l A0, D0
00000D6A 2010 move.l D0, [A0]
00000D6C 670A beq +0xC /* 00000D78 */
00000D6E 2040 movea.l A0, D0
00000D70 D1FA 0024 add.l A0, [PC + 0x24 /* 00000D96, value 0x0, cstring "" */]
00000D74 30BC 80FF move.w [A0], 0x80FF
label00000D78:
00000D78 4CDF 0101 movem.l D0,A0, [A7]+
00000D7C 2E9F move.l [A7], [A7]+
00000D7E 4E75 rts
label00000D80:
00000D80 5C4F addq.w A7, 6
00000D82 41FA 0016 lea.l A0, [PC + 0x16 /* 00000D9A, value 0x0, cstring "" */]
00000D86 4290 clr.l [A0]
label00000D88:
00000D88 4CDF 0101 movem.l D0,A0, [A7]+
00000D8C 2F3A 0010 move.l -[A7], [PC + 0x10 /* 00000D9E, value 0x0, cstring "" */]
00000D90 4E75 rts
00000D92 0000 0000 ori.b D0, 0x0
00000D96 0000 0000 ori.b D0, 0x0
00000D9A 0000 0000 ori.b D0, 0x0
00000D9E 0000 0000 ori.b D0, 0x0
label00000DA2:
00000DA2 4E5E unlink A6
00000DA4 4E75 rts
00000DA6 5041 addq.w D1, 8
00000DA8 5443 addq.w D3, 2
00000DAA 4854 pea.l [A4]
00000DAC 5241 addq.w D1, 1
00000DAE 4E56 FFEA link A6, -0x0016
00000DB2 426E FFFE clr.w [A6 - 0x2]
00000DB6 41FA 00CC lea.l A0, [PC + 0xCC /* 00000E84, value 0xCAF736E */]
00000DBA 2D48 FFFA move.l [A6 - 0x6], A0
00000DBE 41FA 01A0 lea.l A0, [PC + 0x1A0 /* 00000F60, value 0x4E5E4E75 'N^Nu' */]
00000DC2 2D48 FFF6 move.l [A6 - 0xA], A0
00000DC6 202E FFF6 move.l D0, [A6 - 0xA]
00000DCA 90AE FFFA sub.l D0, [A6 - 0x6]
00000DCE 2D40 FFF2 move.l [A6 - 0xE], D0
00000DD2 42A7 clr.l -[A7]
00000DD4 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000DD8 4EBA 08F0 jsr [PC + 0x8F0 /* 000016CA */]
00000DDC 205F movea.l A0, [A7]+
00000DDE 2D48 FFEE move.l [A6 - 0x12], A0
00000DE2 4AAE FFEE tst.l [A6 - 0x12]
00000DE6 6700 008E beq +0x90 /* 00000E76 */
00000DEA 42A7 clr.l -[A7]
00000DEC 3F3C A9A0 move.w -[A7], 0xA9A0
00000DF0 1F3C 0001 move.b -[A7], 0x1
00000DF4 4EBA 0984 jsr [PC + 0x984 /* 0000177A */]
00000DF8 201F move.l D0, [A7]+
00000DFA 2D40 FFEA move.l [A6 - 0x16], D0
00000DFE 41FA 014C lea.l A0, [PC + 0x14C /* 00000F4C, value 0x0, cstring "" */]
00000E02 20AE FFEA move.l [A0], [A6 - 0x16]
00000E06 42A7 clr.l -[A7]
00000E08 3F3C A9A2 move.w -[A7], 0xA9A2
00000E0C 1F3C 0001 move.b -[A7], 0x1
00000E10 4EBA 0968 jsr [PC + 0x968 /* 0000177A */]
00000E14 201F move.l D0, [A7]+
00000E16 2D40 FFEA move.l [A6 - 0x16], D0
00000E1A 41FA 0140 lea.l A0, [PC + 0x140 /* 00000F5C, value 0x0, cstring "" */]
00000E1E 20AE FFEA move.l [A0], [A6 - 0x16]
00000E22 41FA 0130 lea.l A0, [PC + 0x130 /* 00000F54, value 0x0, cstring "" */]
00000E26 20AE 000C move.l [A0], [A6 + 0xC]
00000E2A 41FA 0124 lea.l A0, [PC + 0x124 /* 00000F50, value 0x0, cstring "" */]
00000E2E 20AE 0008 move.l [A0], [A6 + 0x8]
00000E32 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000E36 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000E3A 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000E3E 4EBA 0922 jsr [PC + 0x922 /* 00001762 */]
00000E42 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000E46 3F3C A9A0 move.w -[A7], 0xA9A0
00000E4A 1F3C 0001 move.b -[A7], 0x1
00000E4E 4EBA 0942 jsr [PC + 0x942 /* 00001792 */]
00000E52 41FA 0084 lea.l A0, [PC + 0x84 /* 00000ED8, value 0x48E78080 */]
00000E56 43FA 002C lea.l A1, [PC + 0x2C /* 00000E84, value 0xCAF736E */]
00000E5A 91C9 sub.l A0, A1
00000E5C D1EE FFEE add.l A0, [A6 - 0x12]
00000E60 2D48 FFEE move.l [A6 - 0x12], A0
00000E64 2F2E FFEE move.l -[A7], [A6 - 0x12]
00000E68 3F3C A9A2 move.w -[A7], 0xA9A2
00000E6C 1F3C 0001 move.b -[A7], 0x1
00000E70 4EBA 0920 jsr [PC + 0x920 /* 00001792 */]
00000E74 6006 bra +0x8 /* 00000E7C */
label00000E76:
00000E76 7094 moveq.l D0, 0xFFFFFF94
00000E78 3D40 FFFE move.w [A6 - 0x2], D0
label00000E7C:
00000E7C 302E FFFE move.w D0, [A6 - 0x2]
00000E80 6000 00DE bra +0xE0 /* 00000F60 */
00000E84 0CAF 736E 7468 0006 cmpi.l [A7 + 0x6], 0x736E7468 /* 'snth' */
00000E8C 661A bne +0x1C /* 00000EA8 */
00000E8E 0C6F 0805 0004 cmpi.w [A7 + 0x4], 0x805
00000E94 6612 bne +0x14 /* 00000EA8 */
00000E96 2F57 000A move.l [A7 + 0xA], [A7]
00000E9A 3EAF 0004 move.w [A7], [A7 + 0x4]
00000E9E 2F6F 0006 0002 move.l [A7 + 0x2], [A7 + 0x6]
00000EA4 487A 0008 pea.l [PC + 0x8 /* 00000EAE, value 0x20572EAF */]
label00000EA8:
00000EA8 2F3A 00A2 move.l -[A7], [PC + 0xA2 /* 00000F4C, value 0x0, cstring "" */]
00000EAC 4E75 rts
00000EAE 2057 movea.l A0, [A7]
00000EB0 2EAF 0004 move.l [A7], [A7 + 0x4]
00000EB4 2F48 0004 move.l [A7 + 0x4], A0
00000EB8 671C beq +0x1E /* 00000ED6 */
00000EBA 41FA 009C lea.l A0, [PC + 0x9C /* 00000F58, value 0x0, cstring "" */]
00000EBE 20AF 0004 move.l [A0], [A7 + 0x4]
00000EC2 2050 movea.l A0, [A0]
00000EC4 2010 move.l D0, [A0]
00000EC6 670E beq +0x10 /* 00000ED6 */
00000EC8 2040 movea.l A0, D0
00000ECA D1FA 0084 add.l A0, [PC + 0x84 /* 00000F50, value 0x0, cstring "" */]
00000ECE 30FC 4EB9 move.w [A0]+, 0x4EB9
00000ED2 20FA 0080 move.l [A0]+, [PC + 0x80 /* 00000F54, value 0x0, cstring "" */]
label00000ED6:
00000ED6 4E75 rts
00000ED8 48E7 8080 movem.l -[A7], D0,A0
00000EDC 207A 007A movea.l A0, [PC + 0x7A /* 00000F58, value 0x0, cstring "" */]
00000EE0 B1EF 000C cmpa.l A0, [A7 + 0xC]
00000EE4 665C bne +0x5E /* 00000F42 */
00000EE6 5D4F subq.w A7, 6
00000EE8 2F2F 0012 move.l -[A7], [A7 + 0x12]
00000EEC 486F 0004 pea.l [A7 + 0x4]
00000EF0 486F 000A pea.l [A7 + 0xA]
00000EF4 42A7 clr.l -[A7]
00000EF6 A9A8 syscall GetResInfo
00000EF8 0CAF 736E 7468 0002 cmpi.l [A7 + 0x2], 0x736E7468 /* 'snth' */
00000F00 6638 bne +0x3A /* 00000F3A */
00000F02 0C57 0805 cmpi.w [A7], 0x805
00000F06 6632 bne +0x34 /* 00000F3A */
00000F08 5C4F addq.w A7, 6
00000F0A 2F2F 000C move.l -[A7], [A7 + 0xC]
00000F0E 487A 0008 pea.l [PC + 0x8 /* 00000F18, value 0x202F000C, cstring " /" */]
00000F12 2F3A 0048 move.l -[A7], [PC + 0x48 /* 00000F5C, value 0x0, cstring "" */]
00000F16 4E75 rts
00000F18 202F 000C move.l D0, [A7 + 0xC]
00000F1C 6714 beq +0x16 /* 00000F32 */
00000F1E 2040 movea.l A0, D0
00000F20 2010 move.l D0, [A0]
00000F22 670E beq +0x10 /* 00000F32 */
00000F24 2040 movea.l A0, D0
00000F26 D1FA 0028 add.l A0, [PC + 0x28 /* 00000F50, value 0x0, cstring "" */]
00000F2A 30FC 4EB9 move.w [A0]+, 0x4EB9
00000F2E 20FA 0024 move.l [A0]+, [PC + 0x24 /* 00000F54, value 0x0, cstring "" */]
label00000F32:
00000F32 4CDF 0101 movem.l D0,A0, [A7]+
00000F36 2E9F move.l [A7], [A7]+
00000F38 4E75 rts
label00000F3A:
00000F3A 5C4F addq.w A7, 6
00000F3C 41FA 001A lea.l A0, [PC + 0x1A /* 00000F58, value 0x0, cstring "" */]
00000F40 4290 clr.l [A0]
label00000F42:
00000F42 4CDF 0101 movem.l D0,A0, [A7]+
00000F46 2F3A 0014 move.l -[A7], [PC + 0x14 /* 00000F5C, value 0x0, cstring "" */]
00000F4A 4E75 rts
00000F4C 0000 0000 ori.b D0, 0x0
00000F50 0000 0000 ori.b D0, 0x0
00000F54 0000 0000 ori.b D0, 0x0
00000F58 0000 0000 ori.b D0, 0x0
00000F5C 0000 0000 ori.b D0, 0x0
label00000F60:
00000F60 4E5E unlink A6
00000F62 4E75 rts
00000F64 5041 addq.w D1, 8
00000F66 5443 addq.w D3, 2
00000F68 4854 pea.l [A4]
00000F6A 5241 addq.w D1, 1
fn00000F6C:
00000F6C 6104 bsr +0x6 /* 00000F72 */
00000F6E 0000 0000 ori.b D0, 0x0
fn00000F72:
00000F72 225F movea.l A1, [A7]+
00000F74 4E75 rts
label00000F76:
00000F76 4E56 FD7A link A6, -0x0286
00000F7A 2D48 FFFC move.l [A6 - 0x4], A0
00000F7E 4EBA FFEC jsr [PC - 0x14 /* 00000F6C */]
00000F82 2288 move.l [A1], A0
00000F84 2F0C move.l -[A7], A4
00000F86 4EBA FFE4 jsr [PC - 0x1C /* 00000F6C */]
00000F8A 2851 movea.l A4, [A1]
00000F8C 42A7 clr.l -[A7]
00000F8E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000F92 4EBA 07AE jsr [PC + 0x7AE /* 00001742 */]
00000F96 205F movea.l A0, [A7]+
00000F98 2D48 FFFC move.l [A6 - 0x4], A0
00000F9C 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000FA0 6C10 bge +0x12 /* 00000FB2 */
00000FA2 206E FFFC movea.l A0, [A6 - 0x4]
00000FA6 4A10 tst.b [A0]
00000FA8 5DC0 slt D0
00000FAA 4400 neg.b D0
00000FAC 4880 ext.w D0
00000FAE 48C0 ext.l D0
00000FB0 6014 bra +0x16 /* 00000FC6 */
label00000FB2:
00000FB2 4267 clr.w -[A7]
00000FB4 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000FB8 4EBA 0800 jsr [PC + 0x800 /* 000017BA */]
00000FBC 101F move.b D0, [A7]+
00000FBE 4A00 tst.b D0
00000FC0 5DC0 slt D0
00000FC2 4400 neg.b D0
00000FC4 4880 ext.w D0
label00000FC6:
00000FC6 3D40 FFFA move.w [A6 - 0x6], D0
00000FCA 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000FCE 4EBA 077E jsr [PC + 0x77E /* 0000174E */]
00000FD2 4267 clr.w -[A7]
00000FD4 A994 syscall CurResFile
00000FD6 301F move.w D0, [A7]+
00000FD8 3D40 FFF4 move.w [A6 - 0xC], D0
00000FDC 486E FD80 pea.l [A6 - 0x280]
00000FE0 A976 syscall GetKeys
00000FE2 4267 clr.w -[A7]
00000FE4 A974 syscall Button
00000FE6 101F move.b D0, [A7]+
00000FE8 4A00 tst.b D0
00000FEA 6600 02CE bne +0x2D0 /* 000012BA */
00000FEE 7001 moveq.l D0, 0x01
00000FF0 C0AE FD84 and.l D0, [A6 - 0x27C]
00000FF4 4A80 tst.l D0
00000FF6 6600 02C2 bne +0x2C4 /* 000012BA */
00000FFA 4EBA F1DA jsr [PC - 0xE26 /* 000001D6 */]
00000FFE 3F3C A1AD move.w -[A7], 0xA1AD
00001002 4EBA 04C4 jsr [PC + 0x4C4 /* 000014C8 */]
00001006 548F addq.l A7, 2
00001008 4A00 tst.b D0
0000100A 6700 02AE beq +0x2B0 /* 000012BA */
0000100E 4267 clr.w -[A7]
00001010 4879 736E 6420 push.l 0x736E6420 /* 'snd ' */
00001016 486E FD7A pea.l [A6 - 0x286]
0000101A 225F movea.l A1, [A7]+
0000101C 201F move.l D0, [A7]+
0000101E A1AD syscall Gestalt, flags=1
00001020 2288 move.l [A1], A0
00001022 3E80 move.w [A7], D0
00001024 301F move.w D0, [A7]+
00001026 3D40 FD7E move.w [A6 - 0x282], D0
0000102A 082E 0003 FD7D btst.b [A6 - 0x283], 0x3
00001030 6700 0288 beq +0x28A /* 000012BA */
00001034 4267 clr.w -[A7]
00001036 4879 6864 7772 push.l 0x68647772 /* 'hdwr' */
0000103C 486E FD7A pea.l [A6 - 0x286]
00001040 225F movea.l A1, [A7]+
00001042 201F move.l D0, [A7]+
00001044 A1AD syscall Gestalt, flags=1
00001046 2288 move.l [A1], A0
00001048 3E80 move.w [A7], D0
0000104A 301F move.w D0, [A7]+
0000104C 3D40 FD7E move.w [A6 - 0x282], D0
00001050 7010 moveq.l D0, 0x10
00001052 C0AE FD7A and.l D0, [A6 - 0x286]
00001056 4A00 tst.b D0
00001058 6700 0260 beq +0x262 /* 000012BA */
0000105C 4267 clr.w -[A7]
0000105E 4879 766D 2020 push.l 0x766D2020 /* 'vm ' */
00001064 486E FD7A pea.l [A6 - 0x286]
00001068 225F movea.l A1, [A7]+
0000106A 201F move.l D0, [A7]+
0000106C A1AD syscall Gestalt, flags=1
0000106E 2288 move.l [A1], A0
00001070 3E80 move.w [A7], D0
00001072 301F move.w D0, [A7]+
00001074 3D40 FD7E move.w [A6 - 0x282], D0
00001078 4AAE FD7A tst.l [A6 - 0x286]
0000107C 6600 023C bne +0x23E /* 000012BA */
00001080 4EBA 0260 jsr [PC + 0x260 /* 000012E2 */]
00001084 3D40 FFF8 move.w [A6 - 0x8], D0
00001088 4A6E FFF8 tst.w [A6 - 0x8]
0000108C 6D00 022C blt +0x22E /* 000012BA */
00001090 302E FFF8 move.w D0, [A6 - 0x8]
00001094 4640 not.w D0
00001096 3D40 FFF6 move.w [A6 - 0xA], D0
0000109A 486E FEF2 pea.l [A6 - 0x10E]
0000109E 3F3C 0080 move.w -[A7], 0x80
000010A2 3F3C 0001 move.w -[A7], 0x1
000010A6 4EBA 074A jsr [PC + 0x74A /* 000017F2 */]
000010AA 1D78 0A5E FFF3 move.b [A6 - 0xD], [0x00000A5E /* ResLoad */]
000010B0 4267 clr.w -[A7]
000010B2 A99B syscall SetResLoad
000010B4 42A7 clr.l -[A7]
000010B6 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */
000010BC 486E FEF2 pea.l [A6 - 0x10E]
000010C0 A9A1 syscall GetNamedResource
000010C2 205F movea.l A0, [A7]+
000010C4 2D48 FEEE move.l [A6 - 0x112], A0
000010C8 1F2E FFF3 move.b -[A7], [A6 - 0xD]
000010CC A99B syscall SetResLoad
000010CE 4AAE FEEE tst.l [A6 - 0x112]
000010D2 6700 01E6 beq +0x1E8 /* 000012BA */
000010D6 4267 clr.w -[A7]
000010D8 2F2E FEEE move.l -[A7], [A6 - 0x112]
000010DC A9A4 syscall HomeResFile
000010DE 301F move.w D0, [A7]+
000010E0 B06E FFF4 cmp.w D0, [A6 - 0xC]
000010E4 670A beq +0xC /* 000010F0 */
000010E6 2F2E FEEE move.l -[A7], [A6 - 0x112]
000010EA A9A3 syscall ReleaseResource
000010EC 6000 01CC bra +0x1CE /* 000012BA */
label000010F0:
000010F0 4267 clr.w -[A7]
000010F2 2F2E FEEE move.l -[A7], [A6 - 0x112]
000010F6 A9A6 syscall GetResAttrs
000010F8 301F move.w D0, [A7]+
000010FA 3D40 FEE8 move.w [A6 - 0x118], D0
000010FE 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001102 486E FE94 pea.l [A6 - 0x16C]
00001106 486E FE90 pea.l [A6 - 0x170]
0000110A 486E FD90 pea.l [A6 - 0x270]
0000110E A9A8 syscall GetResInfo
00001110 70DF moveq.l D0, 0xFFFFFFDF
00001112 C06E FEE8 and.w D0, [A6 - 0x118]
00001116 0040 0040 ori.w D0, 0x40 /* '@' */
0000111A 2F2E FEEE move.l -[A7], [A6 - 0x112]
0000111E 3F00 move.w -[A7], D0
00001120 A9A7 syscall SetResAttrs
00001122 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001126 3F2E FFF8 move.w -[A7], [A6 - 0x8]
0000112A 42A7 clr.l -[A7]
0000112C A9A9 syscall SetResInfo
0000112E 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001132 A9A3 syscall ReleaseResource
00001134 1D78 0A5E FFF3 move.b [A6 - 0xD], [0x00000A5E /* ResLoad */]
0000113A 4267 clr.w -[A7]
0000113C A99B syscall SetResLoad
0000113E 302E FE94 move.w D0, [A6 - 0x16C]
00001142 EB48 lsl D0.w, 5
00001144 0040 C000 ori.w D0, 0xC000
00001148 42A7 clr.l -[A7]
0000114A 4879 4441 5441 push.l 0x44415441 /* 'DATA' */
00001150 3F00 move.w -[A7], D0
00001152 A9A0 syscall GetResource
00001154 205F movea.l A0, [A7]+
00001156 2D48 FEEE move.l [A6 - 0x112], A0
0000115A 1F2E FFF3 move.b -[A7], [A6 - 0xD]
0000115E A99B syscall SetResLoad
00001160 4AAE FEEE tst.l [A6 - 0x112]
00001164 674A beq +0x4C /* 000011B0 */
00001166 4267 clr.w -[A7]
00001168 2F2E FEEE move.l -[A7], [A6 - 0x112]
0000116C A9A4 syscall HomeResFile
0000116E 301F move.w D0, [A7]+
00001170 B06E FFF4 cmp.w D0, [A6 - 0xC]
00001174 6634 bne +0x36 /* 000011AA */
00001176 4267 clr.w -[A7]
00001178 2F2E FEEE move.l -[A7], [A6 - 0x112]
0000117C A9A6 syscall GetResAttrs
0000117E 301F move.w D0, [A7]+
00001180 3D40 FEE6 move.w [A6 - 0x11A], D0
00001184 70DF moveq.l D0, 0xFFFFFFDF
00001186 C06E FEE6 and.w D0, [A6 - 0x11A]
0000118A 0040 0040 ori.w D0, 0x40 /* '@' */
0000118E 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001192 3F00 move.w -[A7], D0
00001194 A9A7 syscall SetResAttrs
00001196 302E FFF8 move.w D0, [A6 - 0x8]
0000119A EB48 lsl D0.w, 5
0000119C 0040 C000 ori.w D0, 0xC000
000011A0 2F2E FEEE move.l -[A7], [A6 - 0x112]
000011A4 3F00 move.w -[A7], D0
000011A6 42A7 clr.l -[A7]
000011A8 A9A9 syscall SetResInfo
label000011AA:
000011AA 2F2E FEEE move.l -[A7], [A6 - 0x112]
000011AE A9A3 syscall ReleaseResource
label000011B0:
000011B0 41EE FEF2 lea.l A0, [A6 - 0x10E]
000011B4 2D48 FEA8 move.l [A6 - 0x158], A0
000011B8 422E FEB1 clr.b [A6 - 0x14F]
000011BC 4267 clr.w -[A7]
000011BE 486E FE96 pea.l [A6 - 0x16A]
000011C2 4267 clr.w -[A7]
000011C4 4EBA 05E2 jsr [PC + 0x5E2 /* 000017A8 */]
000011C8 301F move.w D0, [A7]+
000011CA 42A7 clr.l -[A7]
000011CC 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */
000011D2 486E FEF2 pea.l [A6 - 0x10E]
000011D6 A9A1 syscall GetNamedResource
000011D8 205F movea.l A0, [A7]+
000011DA 2D48 FEEA move.l [A6 - 0x116], A0
000011DE 2008 move.l D0, A0
000011E0 671C beq +0x1E /* 000011FE */
000011E2 2F2E FEEA move.l -[A7], [A6 - 0x116]
000011E6 3F2E FEE8 move.w -[A7], [A6 - 0x118]
000011EA A9A7 syscall SetResAttrs
000011EC 2F2E FEEA move.l -[A7], [A6 - 0x116]
000011F0 3F2E FE94 move.w -[A7], [A6 - 0x16C]
000011F4 42A7 clr.l -[A7]
000011F6 A9A9 syscall SetResInfo
000011F8 2F2E FEEA move.l -[A7], [A6 - 0x116]
000011FC A992 syscall DetachResource
label000011FE:
000011FE 1D78 0A5E FFF3 move.b [A6 - 0xD], [0x00000A5E /* ResLoad */]
00001204 4267 clr.w -[A7]
00001206 A99B syscall SetResLoad
00001208 302E FFF8 move.w D0, [A6 - 0x8]
0000120C EB48 lsl D0.w, 5
0000120E 0040 C000 ori.w D0, 0xC000
00001212 42A7 clr.l -[A7]
00001214 4879 4441 5441 push.l 0x44415441 /* 'DATA' */
0000121A 3F00 move.w -[A7], D0
0000121C A9A0 syscall GetResource
0000121E 205F movea.l A0, [A7]+
00001220 2D48 FEEE move.l [A6 - 0x112], A0
00001224 1F2E FFF3 move.b -[A7], [A6 - 0xD]
00001228 A99B syscall SetResLoad
0000122A 4AAE FEEE tst.l [A6 - 0x112]
0000122E 6734 beq +0x36 /* 00001264 */
00001230 4267 clr.w -[A7]
00001232 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001236 A9A4 syscall HomeResFile
00001238 301F move.w D0, [A7]+
0000123A B06E FFF4 cmp.w D0, [A6 - 0xC]
0000123E 661E bne +0x20 /* 0000125E */
00001240 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001244 3F2E FEE6 move.w -[A7], [A6 - 0x11A]
00001248 A9A7 syscall SetResAttrs
0000124A 302E FE94 move.w D0, [A6 - 0x16C]
0000124E EB48 lsl D0.w, 5
00001250 0040 C000 ori.w D0, 0xC000
00001254 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001258 3F00 move.w -[A7], D0
0000125A 42A7 clr.l -[A7]
0000125C A9A9 syscall SetResInfo
label0000125E:
0000125E 2F2E FEEE move.l -[A7], [A6 - 0x112]
00001262 A9A3 syscall ReleaseResource
label00001264:
00001264 4A6E FEA6 tst.w [A6 - 0x15A]
00001268 6C0A bge +0xC /* 00001274 */
0000126A 2F2E FEEA move.l -[A7], [A6 - 0x116]
0000126E 4EBA 049C jsr [PC + 0x49C /* 0000170C */]
00001272 6046 bra +0x48 /* 000012BA */
label00001274:
00001274 486E FEF2 pea.l [A6 - 0x10E]
00001278 3F3C 0080 move.w -[A7], 0x80
0000127C 3F3C 0002 move.w -[A7], 0x2
00001280 4EBA 0570 jsr [PC + 0x570 /* 000017F2 */]
00001284 4267 clr.w -[A7]
00001286 3F2E FFF6 move.w -[A7], [A6 - 0xA]
0000128A 486E FEF2 pea.l [A6 - 0x10E]
0000128E 203C 030C 0014 move.l D0, 0x30C0014
00001294 A800 syscall SoundDispatch
00001296 301F move.w D0, [A7]+
00001298 3D40 FD7E move.w [A6 - 0x282], D0
0000129C 3F3C 0080 move.w -[A7], 0x80
000012A0 3F3C FFFF move.w -[A7], 0xFFFF
000012A4 4EBA 0590 jsr [PC + 0x590 /* 00001836 */]
000012A8 4A6E FFFA tst.w [A6 - 0x6]
000012AC 6608 bne +0xA /* 000012B6 */
000012AE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000012B2 4EBA 04A4 jsr [PC + 0x4A4 /* 00001758 */]
label000012B6:
000012B6 285F movea.l A4, [A7]+
000012B8 601C bra +0x1E /* 000012D6 */
label000012BA:
000012BA 3F3C 0081 move.w -[A7], 0x81
000012BE 3F3C FFFF move.w -[A7], 0xFFFF
000012C2 4EBA 0572 jsr [PC + 0x572 /* 00001836 */]
000012C6 4A6E FFFA tst.w [A6 - 0x6]
000012CA 6608 bne +0xA /* 000012D4 */
000012CC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000012D0 4EBA 0486 jsr [PC + 0x486 /* 00001758 */]
label000012D4:
000012D4 285F movea.l A4, [A7]+
label000012D6:
000012D6 4E5E unlink A6
000012D8 4E75 rts
000012DA 4D41 chk.w D6, D1
000012DC 494E chk.w D4, A6
000012DE 2020 move.l D0, -[A0]
000012E0 2020 move.l D0, -[A0]
fn000012E2:
000012E2 4E56 FFF4 link A6, -0x000C
000012E6 0C78 0030 01D2 cmpi.w [0x000001D2 /* UnitNtryCnt */], 0x30 /* '0' */
000012EC 6E1A bgt +0x1C /* 00001308 */
000012EE 3F3C 0040 move.w -[A7], 0x40 /* '@' */
000012F2 4EBA 00FA jsr [PC + 0xFA /* 000013EE */]
000012F6 548F addq.l A7, 2
000012F8 3D40 FFF4 move.w [A6 - 0xC], D0
000012FC 4A6E FFF4 tst.w [A6 - 0xC]
00001300 6706 beq +0x8 /* 00001308 */
00001302 70FF moveq.l D0, 0xFFFFFFFF
00001304 6000 00DC bra +0xDE /* 000013E2 */
label00001308:
00001308 7030 moveq.l D0, 0x30
0000130A 3D40 FFFE move.w [A6 - 0x2], D0
0000130E 6004 bra +0x6 /* 00001314 */
label00001310:
00001310 526E FFFE addq.w [A6 - 0x2], 1
label00001314:
00001314 302E FFFE move.w D0, [A6 - 0x2]
00001318 B078 01D2 cmp.w D0, [0x000001D2 /* UnitNtryCnt */]
0000131C 6C12 bge +0x14 /* 00001330 */
0000131E 302E FFFE move.w D0, [A6 - 0x2]
00001322 48C0 ext.l D0
00001324 E580 asl D0, 2
00001326 D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
0000132A 2040 movea.l A0, D0
0000132C 4A90 tst.l [A0]
0000132E 66E0 bne -0x1E /* 00001310 */
label00001330:
00001330 302E FFFE move.w D0, [A6 - 0x2]
00001334 B078 01D2 cmp.w D0, [0x000001D2 /* UnitNtryCnt */]
00001338 6C08 bge +0xA /* 00001342 */
0000133A 302E FFFE move.w D0, [A6 - 0x2]
0000133E 6000 00A2 bra +0xA4 /* 000013E2 */
label00001342:
00001342 3D78 01D2 FFF6 move.w [A6 - 0xA], [0x000001D2 /* UnitNtryCnt */]
00001348 42A7 clr.l -[A7]
0000134A 2F38 011C move.l -[A7], [0x0000011C /* UTableBase */]
0000134E 4EBA 039C jsr [PC + 0x39C /* 000016EC */]
00001352 201F move.l D0, [A7]+
00001354 2D40 FFFA move.l [A6 - 0x6], D0
00001358 4878 0004 push.l 0x4
0000135C 2F2E FFFA move.l -[A7], [A6 - 0x6]
00001360 4EBA ECD2 jsr [PC - 0x132E /* 00000034 */]
00001364 3D40 FFF8 move.w [A6 - 0x8], D0
00001368 3038 01D2 move.w D0, [0x000001D2 /* UnitNtryCnt */]
0000136C B06E FFF8 cmp.w D0, [A6 - 0x8]
00001370 6C1A bge +0x1C /* 0000138C */
00001372 3038 01D2 move.w D0, [0x000001D2 /* UnitNtryCnt */]
00001376 5840 addq.w D0, 4
00001378 B06E FFF8 cmp.w D0, [A6 - 0x8]
0000137C 6C06 bge +0x8 /* 00001384 */
0000137E 5878 01D2 addq.w [0x000001D2 /* UnitNtryCnt */], 4
00001382 6024 bra +0x26 /* 000013A8 */
label00001384:
00001384 31EE FFF8 01D2 move.w [0x000001D2 /* UnitNtryCnt */], [A6 - 0x8]
0000138A 601C bra +0x1E /* 000013A8 */
label0000138C:
0000138C 302E FFF8 move.w D0, [A6 - 0x8]
00001390 5040 addq.w D0, 8
00001392 3F00 move.w -[A7], D0
00001394 4EBA 0058 jsr [PC + 0x58 /* 000013EE */]
00001398 548F addq.l A7, 2
0000139A 3D40 FFF4 move.w [A6 - 0xC], D0
0000139E 4A6E FFF4 tst.w [A6 - 0xC]
000013A2 6704 beq +0x6 /* 000013A8 */
000013A4 70FF moveq.l D0, 0xFFFFFFFF
000013A6 603A bra +0x3C /* 000013E2 */
label000013A8:
000013A8 3D6E FFF6 FFFE move.w [A6 - 0x2], [A6 - 0xA]
000013AE 6004 bra +0x6 /* 000013B4 */
label000013B0:
000013B0 526E FFFE addq.w [A6 - 0x2], 1
label000013B4:
000013B4 302E FFFE move.w D0, [A6 - 0x2]
000013B8 B078 01D2 cmp.w D0, [0x000001D2 /* UnitNtryCnt */]
000013BC 6C12 bge +0x14 /* 000013D0 */
000013BE 302E FFFE move.w D0, [A6 - 0x2]
000013C2 48C0 ext.l D0
000013C4 E580 asl D0, 2
000013C6 D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
000013CA 2040 movea.l A0, D0
000013CC 4A90 tst.l [A0]
000013CE 66E0 bne -0x1E /* 000013B0 */
label000013D0:
000013D0 302E FFFE move.w D0, [A6 - 0x2]
000013D4 B078 01D2 cmp.w D0, [0x000001D2 /* UnitNtryCnt */]
000013D8 6C06 bge +0x8 /* 000013E0 */
000013DA 302E FFFE move.w D0, [A6 - 0x2]
000013DE 6002 bra +0x4 /* 000013E2 */
label000013E0:
000013E0 70FF moveq.l D0, 0xFFFFFFFF
label000013E2:
000013E2 4E5E unlink A6
000013E4 4E75 rts
000013E6 4649 not.w A1
000013E8 4E44 trap 4
000013EA 454D chk.w D2, A5
000013EC 5054 addq.w [A4], 8
fn000013EE:
000013EE 4E56 FFF6 link A6, -0x000A
000013F2 426E FFFE clr.w [A6 - 0x2]
000013F6 306E 0008 movea.w A0, [A6 + 0x8]
000013FA 2008 move.l D0, A0
000013FC E588 lsl D0, 2
000013FE 2D40 FFFA move.l [A6 - 0x6], D0
00001402 42A7 clr.l -[A7]
00001404 2F2E FFFA move.l -[A7], [A6 - 0x6]
00001408 4EBA 02CC jsr [PC + 0x2CC /* 000016D6 */]
0000140C 205F movea.l A0, [A7]+
0000140E 2D48 FFF6 move.l [A6 - 0xA], A0
00001412 4AAE FFF6 tst.l [A6 - 0xA]
00001416 6608 bne +0xA /* 00001420 */
00001418 7094 moveq.l D0, 0xFFFFFF94
0000141A 3D40 FFFE move.w [A6 - 0x2], D0
0000141E 6032 bra +0x34 /* 00001452 */
label00001420:
00001420 40E7 move.w -[A7], SR
00001422 46FC 2600 3078 move.w SR, 0x26003078 /* '&\00x' */
00001428 01D2 .incomplete
0000142A 2008 move.l D0, A0
0000142C E588 lsl D0, 2
0000142E 2F38 011C move.l -[A7], [0x0000011C /* UTableBase */]
00001432 2F2E FFF6 move.l -[A7], [A6 - 0xA]
00001436 2F00 move.l -[A7], D0
00001438 4EBA 0328 jsr [PC + 0x328 /* 00001762 */]
0000143C 2F38 011C move.l -[A7], [0x0000011C /* UTableBase */]
00001440 4EBA 02A0 jsr [PC + 0x2A0 /* 000016E2 */]
00001444 21EE FFF6 011C move.l [0x0000011C /* UTableBase */], [A6 - 0xA]
0000144A 31EE 0008 01D2 move.w [0x000001D2 /* UnitNtryCnt */], [A6 + 0x8]
00001450 46DF move.w SR, [A7]+
label00001452:
00001452 302E FFFE move.w D0, [A6 - 0x2]
00001456 4E5E unlink A6
00001458 4E75 rts
0000145A 4558 chk.w D2, [A0]+
0000145C 5041 addq.w D1, 8
0000145E 4E44 trap 4
00001460 554E subq.w A6, 2
fn00001462:
00001462 4E56 FFFC link A6, -0x0004
00001466 42A7 clr.l -[A7]
00001468 3F3C A86E move.w -[A7], 0xA86E
0000146C 1F3C 0001 move.b -[A7], 0x1
00001470 4EBA 0308 jsr [PC + 0x308 /* 0000177A */]
00001474 201F move.l D0, [A7]+
00001476 42A7 clr.l -[A7]
00001478 3F3C AA6E move.w -[A7], 0xAA6E
0000147C 1F3C 0001 move.b -[A7], 0x1
00001480 2D40 FFFC move.l [A6 - 0x4], D0
00001484 4EBA 02F4 jsr [PC + 0x2F4 /* 0000177A */]
00001488 201F move.l D0, [A7]+
0000148A B0AE FFFC cmp.l D0, [A6 - 0x4]
0000148E 6706 beq +0x8 /* 00001496 */
00001490 303C 0400 move.w D0, 0x400
00001494 6004 bra +0x6 /* 0000149A */
label00001496:
00001496 303C 0200 move.w D0, 0x200
label0000149A:
0000149A 4E5E unlink A6
0000149C 4E75 rts
0000149E 4E55 4D54 link A5, -0xFFFFB2AC
000014A2 4F4F chk.w D7, A7
000014A4 4C42 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, D2
// begin alternate branch 000014A6-000014B4
fn000014A6:
000014A6 4E56 0000 link A6, 0
000014AA 303C 0800 move.w D0, 0x800
000014AE C06E 0008 and.w D0, [A6 + 0x8]
000014B2 4A40 tst.w D0
// end alternate branch 000014A6-000014B4
fn000014A6: // (misaligned)
000014A8 0000 303C ori.b D0, 0x3C /* '<' */
000014AC 0800 C06E btst.b D0, 0x6E /* 'n' */
000014B0 0008 4A40 ori.b A0, 0x40 /* '@' */
000014B4 6604 bne +0x6 /* 000014BA */
000014B6 7000 moveq.l D0, 0x00
000014B8 6002 bra +0x4 /* 000014BC */
label000014BA:
000014BA 7001 moveq.l D0, 0x01
label000014BC:
000014BC 4E5E unlink A6
000014BE 4E75 rts
000014C0 4745 chk.w D3, D5
000014C2 5454 addq.w [A4], 2
000014C4 5241 addq.w D1, 1
000014C6 5054 addq.w [A4], 8
fn000014C8:
000014C8 4E56 FFFA link A6, -0x0006
000014CC 3F2E 0008 move.w -[A7], [A6 + 0x8]
000014D0 4EBA FFD4 jsr [PC - 0x2C /* 000014A6 */]
000014D4 548F addq.l A7, 2
000014D6 3D40 FFFE move.w [A6 - 0x2], D0
000014DA 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
000014E0 6616 bne +0x18 /* 000014F8 */
000014E2 026E 07FF 0008 andi.w [A6 + 0x8], 0x7FF
000014E8 4EBA FF78 jsr [PC - 0x88 /* 00001462 */]
000014EC B06E 0008 cmp.w D0, [A6 + 0x8]
000014F0 6E06 bgt +0x8 /* 000014F8 */
000014F2 3D7C A89F 0008 move.w [A6 + 0x8], 0xA89F
label000014F8:
000014F8 42A7 clr.l -[A7]
000014FA 3F2E 0008 move.w -[A7], [A6 + 0x8]
000014FE 1F2E FFFF move.b -[A7], [A6 - 0x1]
00001502 4EBA 0276 jsr [PC + 0x276 /* 0000177A */]
00001506 201F move.l D0, [A7]+
00001508 42A7 clr.l -[A7]
0000150A 3F3C A89F move.w -[A7], 0xA89F
0000150E 1F3C 0001 move.b -[A7], 0x1
00001512 2D40 FFFA move.l [A6 - 0x6], D0
00001516 4EBA 0262 jsr [PC + 0x262 /* 0000177A */]
0000151A 201F move.l D0, [A7]+
0000151C B0AE FFFA cmp.l D0, [A6 - 0x6]
00001520 56C0 sne D0
00001522 4400 neg.b D0
00001524 4880 ext.w D0
00001526 4E5E unlink A6
00001528 4E75 rts
0000152A 5452 addq.w [A2], 2
0000152C 4150 chk.w D0, [A0]
0000152E 4558 chk.w D2, [A0]+
00001530 4953 chk.w D4, [A3]
fn00001532:
00001532 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001536 6B22 bmi +0x24 /* 0000155A */
00001538 303C 0090 move.w D0, 0x90
0000153C A346 syscall GetOSTrapAddress, flags=3
0000153E 2248 movea.l A1, A0
00001540 303C 009F move.w D0, 0x9F
00001544 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00001546 B3C8 cmpa.l A1, A0
00001548 6710 beq +0x12 /* 0000155A */
0000154A 225F movea.l A1, [A7]+
0000154C 205F movea.l A0, [A7]+
0000154E 301F move.w D0, [A7]+
00001550 2F09 move.l -[A7], A1
00001552 A090 syscall SysEnvirons
00001554 3F40 0004 move.w [A7 + 0x4], D0
00001558 4E75 rts
label0000155A:
0000155A 206F 0004 movea.l A0, [A7 + 0x4]
0000155E 303C 0001 move.w D0, 0x1
00001562 2248 movea.l A1, A0
00001564 6006 bra +0x8 /* 0000156C */
00001566 0313 btst [A3], D1
00001568 0B02 btst D2, D5
0000156A 0100 btst D0, D0
label0000156C:
0000156C 303C 0010 move.w D0, 0x10
00001570 E240 asr D0.w, 1
00001572 5340 subq.w D0, 1
label00001574:
00001574 4258 clr.w [A0]+
00001576 51C8 FFFC dbf D0, -0x6 /* 00001574 */
0000157A 32BC 0001 move.w [A1], 0x1
0000157E 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00001582 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00001588 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
0000158E 6742 beq +0x44 /* 000015D2 */
00001590 4A28 0008 tst.b [A0 + 0x8]
00001594 6E20 bgt +0x22 /* 000015B6 */
00001596 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
0000159C 4A78 028E tst.w [0x0000028E /* ROM85 */]
000015A0 6B30 bmi +0x32 /* 000015D2 */
000015A2 337C 0001 0002 move.w [A1 + 0x2], 0x1
000015A8 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
000015AC 6A24 bpl +0x26 /* 000015D2 */
000015AE 337C 0002 0002 move.w [A1 + 0x2], 0x2
000015B4 601C bra +0x1E /* 000015D2 */
label000015B6:
000015B6 4269 0002 clr.w [A1 + 0x2]
000015BA 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
000015C0 6E10 bgt +0x12 /* 000015D2 */
000015C2 6708 beq +0xA /* 000015CC */
000015C4 337C 0004 0002 move.w [A1 + 0x2], 0x4
000015CA 6006 bra +0x8 /* 000015D2 */
label000015CC:
000015CC 337C 0003 0002 move.w [A1 + 0x2], 0x3
label000015D2:
000015D2 4269 0004 clr.w [A1 + 0x4]
000015D6 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000015DC 6E0A bgt +0xC /* 000015E8 */
000015DE 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000015E2 5240 addq.w D0, 1
000015E4 1340 0007 move.b [A1 + 0x7], D0
label000015E8:
000015E8 4A78 028E tst.w [0x0000028E /* ROM85 */]
000015EC 6B0E bmi +0x10 /* 000015FC */
000015EE 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
000015F4 6706 beq +0x8 /* 000015FC */
000015F6 137C 0001 0008 move.b [A1 + 0x8], 0x1
label000015FC:
000015FC 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
00001602 6206 bhi +0x8 /* 0000160A */
00001604 137C 0001 0009 move.b [A1 + 0x9], 0x1
label0000160A:
0000160A 1038 021E move.b D0, [0x0000021E /* KbdType */]
0000160E 41FA FF5B lea.l A0, [PC - 0xA5 /* 0000156B, value 0x303C00 '0<\0', cstring "" */]
00001612 323C 0004 move.w D1, 0x4
label00001616:
00001616 B020 cmp.b D0, -[A0]
00001618 57C9 FFFC dbeq D1, -0x6 /* 00001616 */
0000161C 5241 addq.w D1, 1
0000161E 3341 000A move.w [A1 + 0xA], D1
00001622 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00001626 6B18 bmi +0x1A /* 00001640 */
00001628 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
0000162C 0201 000F andi.b D1, 0xF
00001630 0C01 0001 cmpi.b D1, 0x1
00001634 660A bne +0xC /* 00001640 */
00001636 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
0000163A 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00001640:
00001640 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00001646 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
0000164A 6D44 blt +0x46 /* 00001690 */
0000164C 4269 000E clr.w [A1 + 0xE]
00001650 323C 003C move.w D1, 0x3C /* '<' */
label00001654:
00001654 4267 clr.w -[A7]
00001656 51C9 FFFC dbf D1, -0x6 /* 00001654 */
0000165A 204F movea.l A0, A7
0000165C 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00001662 7008 moveq.l D0, 0x08
00001664 A260 syscall FSDispatch/HFSDispatch, flags=2
00001666 6624 bne +0x26 /* 0000168C */
00001668 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
0000166E A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001670 661A bne +0x1C /* 0000168C */
00001672 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00001678 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
00001680 7001 moveq.l D0, 0x01
00001682 A260 syscall FSDispatch/HFSDispatch, flags=2
00001684 6606 bne +0x8 /* 0000168C */
00001686 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label0000168C:
0000168C DEFC 007A add.w A7, 0x7A /* 'z' */
label00001690:
00001690 2049 movea.l A0, A1
00001692 225F movea.l A1, [A7]+
00001694 5C4F addq.w A7, 6
00001696 3EBC EA84 move.w [A7], 0xEA84
0000169A 4ED1 jmp [A1]
fn0000169C:
0000169C A11A syscall GetZone, flags=1
0000169E 2F48 0004 move.l [A7 + 0x4], A0
000016A2 4EFA 001C jmp [PC + 0x1C /* 000016C0 */]
fn000016A6:
000016A6 225F movea.l A1, [A7]+
000016A8 205F movea.l A0, [A7]+
000016AA A01B syscall SetZone
000016AC 4EFA 0010 jmp [PC + 0x10 /* 000016BE */]
fn000016B0:
000016B0 225F movea.l A1, [A7]+
000016B2 201F move.l D0, [A7]+
000016B4 A04C syscall CompactMem
000016B6 2E80 move.l [A7], D0
000016B8 4EFA 0002 jmp [PC + 0x2 /* 000016BC */]
label000016BC:
000016BC 7000 moveq.l D0, 0x00
label000016BE:
000016BE 2F09 move.l -[A7], A1
label000016C0:
000016C0 31C0 0220 move.w [0x00000220 /* MemErr */], D0
000016C4 4E75 rts
000016C6 7000 moveq.l D0, 0x00
000016C8 60F6 bra -0x8 /* 000016C0 */
fn000016CA:
000016CA 225F movea.l A1, [A7]+
000016CC 201F move.l D0, [A7]+
000016CE A51E syscall NewPtrSys, flags=5
000016D0 2E88 move.l [A7], A0
000016D2 4EFA FFEA jmp [PC - 0x16 /* 000016BE */]
fn000016D6:
000016D6 225F movea.l A1, [A7]+
000016D8 201F move.l D0, [A7]+
000016DA A71E syscall NewPtrSysClear, flags=7
000016DC 2E88 move.l [A7], A0
000016DE 4EFA FFDE jmp [PC - 0x22 /* 000016BE */]
fn000016E2:
000016E2 225F movea.l A1, [A7]+
000016E4 205F movea.l A0, [A7]+
000016E6 A01F syscall DisposPtr/DisposePtr
000016E8 4EFA FFD4 jmp [PC - 0x2C /* 000016BE */]
fn000016EC:
000016EC 225F movea.l A1, [A7]+
000016EE 205F movea.l A0, [A7]+
000016F0 A021 syscall GetPtrSize
000016F2 2E80 move.l [A7], D0
000016F4 6A06 bpl +0x8 /* 000016FC */
000016F6 4297 clr.l [A7]
000016F8 4EFA FFC4 jmp [PC - 0x3C /* 000016BE */]
label000016FC:
000016FC 4EFA FFBE jmp [PC - 0x42 /* 000016BC */]
fn00001700:
00001700 225F movea.l A1, [A7]+
00001702 201F move.l D0, [A7]+
00001704 A122 syscall NewHandle, flags=1
00001706 2E88 move.l [A7], A0
00001708 4EFA FFB4 jmp [PC - 0x4C /* 000016BE */]
fn0000170C:
0000170C 225F movea.l A1, [A7]+
0000170E 205F movea.l A0, [A7]+
00001710 A023 syscall DisposHandle/DisposeHandle
00001712 4EFA FFAA jmp [PC - 0x56 /* 000016BE */]
fn00001716:
00001716 225F movea.l A1, [A7]+
00001718 205F movea.l A0, [A7]+
0000171A A025 syscall GetHandleSize
0000171C 2E80 move.l [A7], D0
0000171E 6A06 bpl +0x8 /* 00001726 */
00001720 4297 clr.l [A7]
00001722 4EFA FF9A jmp [PC - 0x66 /* 000016BE */]
label00001726:
00001726 4EFA FF94 jmp [PC - 0x6C /* 000016BC */]
fn0000172A:
0000172A 225F movea.l A1, [A7]+
0000172C 201F move.l D0, [A7]+
0000172E 205F movea.l A0, [A7]+
00001730 A024 syscall SetHandleSize
00001732 4EFA FF8A jmp [PC - 0x76 /* 000016BE */]
fn00001736:
00001736 225F movea.l A1, [A7]+
00001738 205F movea.l A0, [A7]+
0000173A A126 syscall HandleZone, flags=1
0000173C 2E88 move.l [A7], A0
0000173E 4EFA FF7E jmp [PC - 0x82 /* 000016BE */]
fn00001742:
00001742 225F movea.l A1, [A7]+
00001744 205F movea.l A0, [A7]+
00001746 A128 syscall RecoverHandle, flags=1
00001748 2E88 move.l [A7], A0
0000174A 4EFA FF70 jmp [PC - 0x90 /* 000016BC */]
fn0000174E:
0000174E 225F movea.l A1, [A7]+
00001750 205F movea.l A0, [A7]+
00001752 A029 syscall HLock
00001754 4EFA FF68 jmp [PC - 0x98 /* 000016BE */]
fn00001758:
00001758 225F movea.l A1, [A7]+
0000175A 205F movea.l A0, [A7]+
0000175C A02A syscall HUnlock
0000175E 4EFA FF5E jmp [PC - 0xA2 /* 000016BE */]
fn00001762:
00001762 221F move.l D1, [A7]+
00001764 201F move.l D0, [A7]+
00001766 225F movea.l A1, [A7]+
00001768 205F movea.l A0, [A7]+
0000176A A02E syscall BlockMove/BlockMoveData
0000176C 2241 movea.l A1, D1
0000176E 4EFA FF4E jmp [PC - 0xB2 /* 000016BE */]
fn00001772:
00001772 3F78 0220 0004 move.w [A7 + 0x4], [0x00000220 /* MemErr */]
00001778 4E75 rts
fn0000177A:
0000177A 225F movea.l A1, [A7]+
0000177C 121F move.b D1, [A7]+
0000177E 301F move.w D0, [A7]+
00001780 2F09 move.l -[A7], A1
00001782 4A01 tst.b D1
00001784 6704 beq +0x6 /* 0000178A */
00001786 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00001788 6002 bra +0x4 /* 0000178C */
label0000178A:
0000178A A346 syscall GetOSTrapAddress, flags=3
label0000178C:
0000178C 2F48 0004 move.l [A7 + 0x4], A0
00001790 4E75 rts
fn00001792:
00001792 225F movea.l A1, [A7]+
00001794 121F move.b D1, [A7]+
00001796 301F move.w D0, [A7]+
00001798 205F movea.l A0, [A7]+
0000179A 2F09 move.l -[A7], A1
0000179C 4A01 tst.b D1
0000179E 6704 beq +0x6 /* 000017A4 */
000017A0 A647 syscall SetToolBoxTrapAddress/SetToolTrapAddress, flags=6
000017A2 6002 bra +0x4 /* 000017A6 */
label000017A4:
000017A4 A247 syscall SetOSTrapAddress, flags=2
label000017A6:
000017A6 4E75 rts
fn000017A8:
000017A8 225F movea.l A1, [A7]+
000017AA 101F move.b D0, [A7]+
000017AC 205F movea.l A0, [A7]+
000017AE 6604 bne +0x6 /* 000017B4 */
000017B0 A000 syscall Open/PBHOpen/HOpen
000017B2 6002 bra +0x4 /* 000017B6 */
label000017B4:
000017B4 A400 syscall Open/PBHOpen/HOpen, flags=4
label000017B6:
000017B6 3E80 move.w [A7], D0
000017B8 4ED1 jmp [A1]
fn000017BA:
000017BA 225F movea.l A1, [A7]+
000017BC 205F movea.l A0, [A7]+
000017BE A069 syscall HGetState
000017C0 1E80 move.b [A7], D0
000017C2 4ED1 jmp [A1]
fn000017C4:
000017C4 4A78 028E tst.w [0x0000028E /* ROM85 */]
000017C8 6B1C bmi +0x1E /* 000017E6 */
000017CA 303C A89F move.w D0, 0xA89F
fn000017CE:
000017CE A346 syscall GetOSTrapAddress, flags=3
000017D0 2248 movea.l A1, A0
000017D2 303C A055 move.w D0, 0xA055
000017D6 A346 syscall GetOSTrapAddress, flags=3
000017D8 B3C8 cmpa.l A1, A0
000017DA 670A beq +0xC /* 000017E6 */
000017DC 225F movea.l A1, [A7]+
000017DE 201F move.l D0, [A7]+
000017E0 A055 syscall StripAddress
000017E2 2E80 move.l [A7], D0
000017E4 4ED1 jmp [A1]
label000017E6:
000017E6 225F movea.l A1, [A7]+
000017E8 201F move.l D0, [A7]+
000017EA C0B8 031A and.l D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
000017EE 2E80 move.l [A7], D0
000017F0 4ED1 jmp [A1]
fn000017F2:
000017F2 4E56 0000 link A6, 0
000017F6 594F subq.w A7, 4
000017F8 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000017FE 3F2E 000A move.w -[A7], [A6 + 0xA]
00001802 A9A0 syscall GetResource
00001804 226E 000C movea.l A1, [A6 + 0xC]
00001808 4211 clr.b [A1]
0000180A 201F move.l D0, [A7]+
0000180C 6720 beq +0x22 /* 0000182E */
0000180E 2040 movea.l A0, D0
00001810 2050 movea.l A0, [A0]
00001812 3018 move.w D0, [A0]+
00001814 322E 0008 move.w D1, [A6 + 0x8]
00001818 B240 cmp.w D1, D0
0000181A 6E12 bgt +0x14 /* 0000182E */
0000181C 7000 moveq.l D0, 0x00
label0000181E:
0000181E 5341 subq.w D1, 1
00001820 6706 beq +0x8 /* 00001828 */
00001822 1018 move.b D0, [A0]+
00001824 D1C0 add.l A0, D0
00001826 60F6 bra -0x8 /* 0000181E */
label00001828:
00001828 1010 move.b D0, [A0]
0000182A 5240 addq.w D0, 1
0000182C A02E syscall BlockMove/BlockMoveData
label0000182E:
0000182E 4E5E unlink A6
00001830 205F movea.l A0, [A7]+
00001832 508F addq.l A7, 8
00001834 4ED0 jmp [A0]
fn00001836:
00001836 4E56 0000 link A6, 0
0000183A 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000183E 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
00001844 6738 beq +0x3A /* 0000187E */
label00001846:
00001846 42A7 clr.l -[A7]
00001848 2F3C 4943 4E23 move.l -[A7], 0x49434E23 /* 'ICN#' */
0000184E 3F2E 000A move.w -[A7], [A6 + 0xA]
00001852 A9A0 syscall GetResource
00001854 201F move.l D0, [A7]+
00001856 671E beq +0x20 /* 00001876 */
00001858 2F00 move.l -[A7], D0
0000185A 2040 movea.l A0, D0
0000185C 2050 movea.l A0, [A0]
0000185E 2F08 move.l -[A7], A0
00001860 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001864 6100 010C bsr +0x10E /* 00001972 */
00001868 A9A3 syscall ReleaseResource
label0000186A:
0000186A 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
fn0000186E:
0000186E 4E5E unlink A6
00001870 205F movea.l A0, [A7]+
00001872 588F addq.l A7, 4
00001874 4ED0 jmp [A0]
label00001876:
00001876 3F3C 0001 move.w -[A7], 0x1
0000187A A9C8 syscall SysBeep
0000187C 60EC bra -0x12 /* 0000186A */
label0000187E:
0000187E 2078 08A4 movea.l A0, [0x000008A4 /* MainDevice */]
00001882 2050 movea.l A0, [A0]
00001884 2068 0016 movea.l A0, [A0 + 0x16]
00001888 2050 movea.l A0, [A0]
0000188A 0C68 0004 0020 cmpi.w [A0 + 0x20], 0x4
00001890 6DB4 blt -0x4A /* 00001846 */
00001892 42A7 clr.l -[A7]
00001894 3F2E 000A move.w -[A7], [A6 + 0xA]
00001898 AA1E syscall GetCIcon
0000189A 201F move.l D0, [A7]+
0000189C 67A8 beq -0x56 /* 00001846 */
0000189E 2F00 move.l -[A7], D0
000018A0 2F00 move.l -[A7], D0
000018A2 3F2E 0008 move.w -[A7], [A6 + 0x8]
000018A6 6100 014A bsr +0x14C /* 000019F2 */
000018AA AA25 syscall DisposeCIcon/DisposCIcon
000018AC 60BC bra -0x42 /* 0000186A */
000018AE 5368 6F77 subq.w [A0 + 0x6F77], 1
000018B2 494E chk.w D4, A6
000018B4 4954 chk.w D4, [A4]
000018B6 2062 movea.l A0, -[A2]
000018B8 7920 moveq.l D4, 0x20
000018BA 5061 addq.w -[A1], 8
000018BC 756C moveq.l D2, 0x6C
000018BE 204D movea.l A0, A5
000018C0 6572 bcs +0x74 /* 00001934 */
000018C2 6365 bls +0x67 /* 00001929 */
000018C4 7200 moveq.l D1, 0x00
000018C6 436F 7079 chk.w D1, [A7 + 0x7079]
000018CA 7269 moveq.l D1, 0x69
000018CC 6768 beq +0x6A /* 00001936 */
000018CE 7420 moveq.l D2, 0x20
000018D0 3139 3837 2D31 move.w -[A0], [0x38372D31]
000018D6 3938 3800 move.w -[A4], [0x00003800]
000018DA 5665 addq.w -[A5], 3
000018DC 7273 moveq.l D1, 0x73
000018DE 696F bvs +0x71 /* 0000194F */
000018E0 6E20 bgt +0x22 /* 00001902 */
000018E2 6F66 ble +0x68 /* 0000194A */
000018E4 2037 2F31 352F 3838 move.l D0, [[A7 + 0x352F3838 + D2 * 8]]
fn000018EC:
000018EC 2D78 0904 FFFC move.l [A6 - 0x4], [0x00000904 /* CurrentA5 */]
000018F2 4BEE FFF8 lea.l A5, [A6 - 0x8]
000018F6 21CD 0904 move.l [0x00000904 /* CurrentA5 */], A5
000018FA 486E FFF4 pea.l [A6 - 0xC]
000018FE A86E syscall InitGraf
00001900 486E FEA8 pea.l [A6 - 0x158]
// begin alternate branch 00001902-00001906
label00001902:
00001902 FEA8 A86F .extension 0xEA8 <<F/2-3/7>> // unimplemented
// end alternate branch 00001902-00001906
label00001902: // (misaligned)
00001904 A86F syscall OpenPort
00001906 3038 092C move.w D0, [0x0000092C]
0000190A E358 rol D0.w, 1
0000190C 0A40 1021 xori.w D0, 0x1021
00001910 B078 092E cmp.w D0, [0x0000092E]
00001914 6706 beq +0x8 /* 0000191C */
00001916 31FC 0008 092C move.w [0x0000092C], 0x8
label0000191C:
0000191C 41EE FEA8 lea.l A0, [A6 - 0x158]
00001920 3028 000C move.w D0, [A0 + 0xC]
00001924 0440 0028 subi.w D0, 0x28 /* '(' */
00001928 4840 swap.w D0
0000192A 3038 092C move.w D0, [0x0000092C]
0000192E 2D40 FF22 move.l [A6 - 0xDE], D0
00001932 2D40 FF26 move.l [A6 - 0xDA], D0
// begin alternate branch 00001934-00001936
label00001934:
00001934 FF26 .extension 0xF26 <<F/4-5/7>> // unimplemented
// end alternate branch 00001934-00001936
label00001934: // (misaligned)
label00001936:
00001936 066E 0020 FF28 addi.w [A6 - 0xD8], 0x20 /* ' ' */
0000193C 066E 0020 FF26 addi.w [A6 - 0xDA], 0x20 /* ' ' */
00001942 4E75 rts
fn00001944:
00001944 3038 092C move.w D0, [0x0000092C]
fn00001948:
00001948 322E 0008 move.w D1, [A6 + 0x8]
// begin alternate branch 0000194A-0000194E
label0000194A:
0000194A 0008 6A04 ori.b A0, 0x4
// end alternate branch 0000194A-0000194E
label0000194A: // (misaligned)
0000194C 6A04 bpl +0x6 /* 00001952 */
0000194E 323C 0028 move.w D1, 0x28 /* '(' */
label00001952:
00001952 D041 add.w D0, D1
00001954 31C0 092C move.w [0x0000092C], D0
00001958 E358 rol D0.w, 1
0000195A 0A40 1021 xori.w D0, 0x1021
0000195E 31C0 092E move.w [0x0000092E], D0
00001962 486E FEA8 pea.l [A6 - 0x158]
00001966 A87D syscall ClosePort
00001968 2A6E FFFC movea.l A5, [A6 - 0x4]
0000196C 21CD 0904 move.l [0x00000904 /* CurrentA5 */], A5
00001970 4E75 rts
fn00001972:
00001972 4E56 FEA8 link A6, -0x0158
00001976 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000197A 6100 FF70 bsr -0x8E /* 000018EC */
0000197E 266E 000A movea.l A3, [A6 + 0xA]
00001982 49EE FF14 lea.l A4, [A6 - 0xEC]
00001986 288B move.l [A4], A3
00001988 0694 0000 0080 addi.l [A4], 0x80
0000198E 397C 0004 0004 move.w [A4 + 0x4], 0x4
00001994 42AC 0006 clr.l [A4 + 0x6]
00001998 397C 0020 000A move.w [A4 + 0xA], 0x20 /* ' ' */
0000199E 397C 0020 000C move.w [A4 + 0xC], 0x20 /* ' ' */
000019A4 2F0C move.l -[A7], A4
000019A6 45EE FEA8 lea.l A2, [A6 - 0x158]
000019AA 486A 0002 pea.l [A2 + 0x2]
000019AE 487A 003A pea.l [PC + 0x3A /* 000019EA, value 0x0, cstring "" */]
000019B2 486E FF22 pea.l [A6 - 0xDE]
000019B6 3F3C 0003 move.w -[A7], 0x3
000019BA 42A7 clr.l -[A7]
000019BC A8EC syscall CopyBits
000019BE 0494 0000 0080 subi.l [A4], 0x80
000019C4 2F0C move.l -[A7], A4
000019C6 486A 0002 pea.l [A2 + 0x2]
000019CA 487A 001E pea.l [PC + 0x1E /* 000019EA, value 0x0, cstring "" */]
000019CE 486E FF22 pea.l [A6 - 0xDE]
000019D2 3F3C 0001 move.w -[A7], 0x1
000019D6 42A7 clr.l -[A7]
000019D8 A8EC syscall CopyBits
000019DA 6100 FF68 bsr -0x96 /* 00001944 */
000019DE 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000019E2 4E5E unlink A6
000019E4 205F movea.l A0, [A7]+
000019E6 5C8F addq.l A7, 6
000019E8 4ED0 jmp [A0]
000019EA 0000 0000 ori.b D0, 0x0
000019EE 0020 0020 ori.b -[A0], 0x20 /* ' ' */
fn000019F2:
000019F2 4E56 FEA8 link A6, -0x0158
000019F6 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000019FA 6100 FEF0 bsr -0x10E /* 000018EC */
000019FE 486E FF22 pea.l [A6 - 0xDE]
00001A02 2F2E 000A move.l -[A7], [A6 + 0xA]
00001A06 AA1F syscall PlotCIcon
00001A08 6100 FF3A bsr -0xC4 /* 00001944 */
00001A0C 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001A10 4E5E unlink A6
00001A12 205F movea.l A0, [A7]+
00001A14 5C8F addq.l A7, 6
00001A16 4ED0 jmp [A0]
00001A18 4E56 0000 link A6, 0
00001A1C 48E7 1710 movem.l -[A7], D3,D5,D6,D7,A3
00001A20 3A2E 0012 move.w D5, [A6 + 0x12]
00001A24 3C2E 0016 move.w D6, [A6 + 0x16]
00001A28 266E 0008 movea.l A3, [A6 + 0x8]
00001A2C 026B F0FF 011A andi.w [A3 + 0x11A], 0xF0FF
00001A32 0C45 0200 cmpi.w D5, 0x200
00001A36 640A bcc +0xC /* 00001A42 */
00001A38 3005 move.w D0, D5
00001A3A E148 lsl D0.w, 8
00001A3C 816B 011A or.w [A3 + 0x11A], D0
00001A40 600C bra +0xE /* 00001A4E */
label00001A42:
00001A42 3005 move.w D0, D5
00001A44 907C 01C0 sub.w D0, 0x1C0
00001A48 E148 lsl D0.w, 8
00001A4A 816B 011A or.w [A3 + 0x11A], D0
label00001A4E:
00001A4E 302E 000E move.w D0, [A6 + 0xE]
00001A52 5340 subq.w D0, 1
00001A54 6536 bcs +0x38 /* 00001A8C */
00001A56 0C40 0001 cmpi.w D0, 0x1
00001A5A 6230 bhi +0x32 /* 00001A8C */
00001A5C D040 add.w D0, D0
00001A5E 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001A62 4EFB 0000 jmp [PC + D0.w]
00001A66 0006 001A ori.b D6, 0x1A
00001A6A 7003 moveq.l D0, 0x03
00001A6C C06B 011A and.w D0, [A3 + 0x11A]
00001A70 0C40 0001 cmpi.w D0, 0x1
00001A74 6620 bne +0x22 /* 00001A96 */
00001A76 026B FFFC 011A andi.w [A3 + 0x11A], 0xFFFC
00001A7C 6018 bra +0x1A /* 00001A96 */
00001A7E 026B FFFC 011A andi.w [A3 + 0x11A], 0xFFFC
00001A84 006B 0001 011A ori.w [A3 + 0x11A], 0x1
00001A8A 600A bra +0xC /* 00001A96 */
label00001A8C:
00001A8C 487A 0074 pea.l [PC + 0x74 /* 00001B02, value 0x4E560000 'NV\0\0', cstring "NV" */]
00001A90 4EBA 0AE6 jsr [PC + 0xAE6 /* 00002578 */]
00001A94 588F addq.l A7, 4
label00001A96:
00001A96 0C46 0051 cmpi.w D6, 0x51 /* 'Q' */
00001A9A 6706 beq +0x8 /* 00001AA2 */
00001A9C 0C46 0054 cmpi.w D6, 0x54 /* 'T' */
00001AA0 6620 bne +0x22 /* 00001AC2 */
label00001AA2:
00001AA2 4247 clr.w D7
00001AA4 363C 0190 move.w D3, 0x190
label00001AA8:
00001AA8 41EB 011C lea.l A0, [A3 + 0x11C]
00001AAC 11BC 0080 7000 move.b [A0 + D7.w], 0x80
00001AB2 41EB 02AC lea.l A0, [A3 + 0x2AC]
00001AB6 11BC 0080 7000 move.b [A0 + D7.w], 0x80
00001ABC 5247 addq.w D7, 1
00001ABE B647 cmp.w D3, D7
00001AC0 6EE6 bgt -0x18 /* 00001AA8 */
label00001AC2:
00001AC2 0C46 0051 cmpi.w D6, 0x51 /* 'Q' */
00001AC6 6706 beq +0x8 /* 00001ACE */
00001AC8 0C46 0054 cmpi.w D6, 0x54 /* 'T' */
00001ACC 6626 bne +0x28 /* 00001AF4 */
label00001ACE:
00001ACE 4247 clr.w D7
00001AD0 7640 moveq.l D3, 0x40
label00001AD2:
00001AD2 48C7 ext.l D7
00001AD4 2007 move.l D0, D7
00001AD6 D080 add.l D0, D0
00001AD8 41EB 043C lea.l A0, [A3 + 0x43C]
00001ADC 4270 0800 clr.w [A0 + D0]
00001AE0 48C7 ext.l D7
00001AE2 2007 move.l D0, D7
00001AE4 D080 add.l D0, D0
00001AE6 41EB 04BC lea.l A0, [A3 + 0x4BC]
00001AEA 4270 0800 clr.w [A0 + D0]
00001AEE 5247 addq.w D7, 1
00001AF0 B647 cmp.w D3, D7
00001AF2 6EDE bgt -0x20 /* 00001AD2 */
label00001AF4:
00001AF4 4EBA FCD8 jsr [PC - 0x328 /* 000017CE */]
00001AF8 4CEE 08E8 FFEC movem.l D3,D5,D6,D7,A3, [A6 - 0x14]
00001AFE 4E5E unlink A6
00001B00 4E75 rts
00001B02 4E56 0000 link A6, 0
00001B06 48E7 1310 movem.l -[A7], D3,D6,D7,A3
00001B0A 3C2E 0016 move.w D6, [A6 + 0x16]
00001B0E 266E 0008 movea.l A3, [A6 + 0x8]
00001B12 026B F0FF 011A andi.w [A3 + 0x11A], 0xF0FF
00001B18 302E 0012 move.w D0, [A6 + 0x12]
00001B1C E148 lsl D0.w, 8
00001B1E 816B 011A or.w [A3 + 0x11A], D0
00001B22 302E 000E move.w D0, [A6 + 0xE]
00001B26 5340 subq.w D0, 1
00001B28 6534 bcs +0x36 /* 00001B5E */
00001B2A 0C40 0001 cmpi.w D0, 0x1
00001B2E 622E bhi +0x30 /* 00001B5E */
00001B30 D040 add.w D0, D0
00001B32 303B 0006 move.w D0, [PC + D0.w + 0x6]
00001B36 4EFB 0000 jmp [PC + D0.w]
00001B3A 0006 001A ori.b D6, 0x1A
00001B3E 7003 moveq.l D0, 0x03
00001B40 C06B 011A and.w D0, [A3 + 0x11A]
00001B44 0C40 0001 cmpi.w D0, 0x1
00001B48 6614 bne +0x16 /* 00001B5E */
00001B4A 026B FFFC 011A andi.w [A3 + 0x11A], 0xFFFC
00001B50 600C bra +0xE /* 00001B5E */
00001B52 026B FFFC 011A andi.w [A3 + 0x11A], 0xFFFC
fn00001B58:
00001B58 006B 0001 011A ori.w [A3 + 0x11A], 0x1
label00001B5E:
00001B5E 0C46 0051 cmpi.w D6, 0x51 /* 'Q' */
00001B62 6706 beq +0x8 /* 00001B6A */
00001B64 0C46 0054 cmpi.w D6, 0x54 /* 'T' */
00001B68 6620 bne +0x22 /* 00001B8A */
label00001B6A:
00001B6A 4247 clr.w D7
00001B6C 363C 0190 move.w D3, 0x190
label00001B70:
00001B70 41EB 011C lea.l A0, [A3 + 0x11C]
00001B74 11BC 0080 7000 move.b [A0 + D7.w], 0x80
00001B7A 41EB 02AC lea.l A0, [A3 + 0x2AC]
00001B7E 11BC 0080 7000 move.b [A0 + D7.w], 0x80
00001B84 5247 addq.w D7, 1
00001B86 B647 cmp.w D3, D7
00001B88 6EE6 bgt -0x18 /* 00001B70 */
label00001B8A:
00001B8A 0C46 0051 cmpi.w D6, 0x51 /* 'Q' */
00001B8E 6706 beq +0x8 /* 00001B96 */
00001B90 0C46 0054 cmpi.w D6, 0x54 /* 'T' */
00001B94 6626 bne +0x28 /* 00001BBC */
label00001B96:
00001B96 4247 clr.w D7
00001B98 7640 moveq.l D3, 0x40
label00001B9A:
00001B9A 48C7 ext.l D7
00001B9C 2007 move.l D0, D7
00001B9E D080 add.l D0, D0
00001BA0 41EB 043C lea.l A0, [A3 + 0x43C]
00001BA4 4270 0800 clr.w [A0 + D0]
00001BA8 48C7 ext.l D7
00001BAA 2007 move.l D0, D7
00001BAC D080 add.l D0, D0
00001BAE 41EB 04BC lea.l A0, [A3 + 0x4BC]
00001BB2 4270 0800 clr.w [A0 + D0]
00001BB6 5247 addq.w D7, 1
00001BB8 B647 cmp.w D3, D7
00001BBA 6EDE bgt -0x20 /* 00001B9A */
label00001BBC:
00001BBC 4EBA FCB0 jsr [PC - 0x350 /* 0000186E */]
00001BC0 4CEE 08C8 FFF0 movem.l D3,D6,D7,A3, [A6 - 0x10]
00001BC6 4E5E unlink A6
00001BC8 4E75 rts
00001BCA 026B 80FF 011A andi.w [A3 + 0x11A], 0x80FF
00001BD0 302E 0012 move.w D0, [A6 + 0x12]
00001BD4 0C40 0200 cmpi.w D0, 0x200
00001BD8 6504 bcs +0x6 /* 00001BDE */
00001BDA 907C 01C0 sub.w D0, 0x1C0
label00001BDE:
00001BDE E148 lsl D0.w, 8
00001BE0 4E75 rts
00001BE2 4E56 0000 link A6, 0
00001BE6 48E7 1708 movem.l -[A7], D3,D5,D6,D7,A4
00001BEA 3A2E 0016 move.w D5, [A6 + 0x16]
00001BEE 286E 0008 movea.l A4, [A6 + 0x8]
00001BF2 026C F0FF 011A andi.w [A4 + 0x11A], 0xF0FF
00001BF8 7000 moveq.l D0, 0x00
00001BFA 302E 0012 move.w D0, [A6 + 0x12]
00001BFE E188 lsl D0, 8
00001C00 816C 011A or.w [A4 + 0x11A], D0
00001C04 302E 000E move.w D0, [A6 + 0xE]
// begin alternate branch 00001C06-00001C0A
fn00001C06:
00001C06 000E 5340 ori.b A6, 0x40 /* '@' */
// end alternate branch 00001C06-00001C0A
fn00001C06: // (misaligned)
00001C08 5340 subq.w D0, 1
00001C0A 6706 beq +0x8 /* 00001C12 */
00001C0C 5340 subq.w D0, 1
00001C0E 671A beq +0x1C /* 00001C2A */
00001C10 6024 bra +0x26 /* 00001C36 */
label00001C12:
00001C12 7003 moveq.l D0, 0x03
00001C14 C06C 011A and.w D0, [A4 + 0x11A]
00001C18 7200 moveq.l D1, 0x00
00001C1A 3200 move.w D1, D0
00001C1C 7001 moveq.l D0, 0x01
00001C1E B081 cmp.l D0, D1
00001C20 6614 bne +0x16 /* 00001C36 */
00001C22 026C FFFC 011A andi.w [A4 + 0x11A], 0xFFFC
00001C28 600C bra +0xE /* 00001C36 */
label00001C2A:
00001C2A 026C FFFC 011A andi.w [A4 + 0x11A], 0xFFFC
00001C30 006C 0001 011A ori.w [A4 + 0x11A], 0x1
label00001C36:
00001C36 0C45 0051 cmpi.w D5, 0x51 /* 'Q' */
00001C3A 6706 beq +0x8 /* 00001C42 */
00001C3C 0C45 0054 cmpi.w D5, 0x54 /* 'T' */
00001C40 6626 bne +0x28 /* 00001C68 */
label00001C42:
00001C42 4247 clr.w D7
00001C44 363C 0190 move.w D3, 0x190
label00001C48:
00001C48 3C07 move.w D6, D7
00001C4A 48C6 ext.l D6
00001C4C 41EC 011C lea.l A0, [A4 + 0x11C]
00001C50 11BC 0080 6000 move.b [A0 + D6.w], 0x80
00001C56 41EC 02AC lea.l A0, [A4 + 0x2AC]
00001C5A 11BC 0080 6000 move.b [A0 + D6.w], 0x80
00001C60 3007 move.w D0, D7
00001C62 5247 addq.w D7, 1
00001C64 B647 cmp.w D3, D7
00001C66 6EE0 bgt -0x1E /* 00001C48 */
label00001C68:
00001C68 0C45 0051 cmpi.w D5, 0x51 /* 'Q' */
00001C6C 6706 beq +0x8 /* 00001C74 */
00001C6E 0C45 0054 cmpi.w D5, 0x54 /* 'T' */
00001C72 6628 bne +0x2A /* 00001C9C */
label00001C74:
00001C74 4247 clr.w D7
00001C76 7640 moveq.l D3, 0x40
label00001C78:
00001C78 48C7 ext.l D7
00001C7A 2007 move.l D0, D7
00001C7C D080 add.l D0, D0
00001C7E 41EC 043C lea.l A0, [A4 + 0x43C]
00001C82 4270 0800 clr.w [A0 + D0]
00001C86 48C7 ext.l D7
00001C88 2007 move.l D0, D7
00001C8A D080 add.l D0, D0
00001C8C 41EC 04BC lea.l A0, [A4 + 0x4BC]
00001C90 4270 0800 clr.w [A0 + D0]
00001C94 3007 move.w D0, D7
00001C96 5247 addq.w D7, 1
00001C98 B647 cmp.w D3, D7
00001C9A 6EDC bgt -0x22 /* 00001C78 */
label00001C9C:
00001C9C 4EBA FCAA jsr [PC - 0x356 /* 00001948 */]
00001CA0 4CEE 10E8 FFEC movem.l D3,D5,D6,D7,A4, [A6 - 0x14]
00001CA6 4E5E unlink A6
00001CA8 4E75 rts
00001CAA 026C 80FF 011A andi.w [A4 + 0x11A], 0x80FF
00001CB0 302E 0012 move.w D0, [A6 + 0x12]
00001CB4 0C40 0200 cmpi.w D0, 0x200
00001CB8 6504 bcs +0x6 /* 00001CBE */
00001CBA 907C 01C0 sub.w D0, 0x1C0
label00001CBE:
00001CBE E148 lsl D0.w, 8
00001CC0 4E75 rts
00001CC2 0033 0058 0039 ori.b [A3 + D0.w + 0x39], 0x58 /* 'X' */
00001CC8 005A 003B ori.w [A2]+, 0x3B /* ';' */
00001CCC 0074 003F 0070 ori.w [A4 + D0.w + 0x70], 0x3F /* '?' */
00001CD2 0043 005A ori.w D3, 0x5A /* 'Z' */
00001CD6 01B7 0070 bclr [A7 + D0.w + 0x70], D0
00001CDA 01FD .incomplete
00001CDC 0058 0209 ori.w [A0]+, 0x209
00001CE0 0074 020D 0058 ori.w [A4 + D0.w + 0x58], 0x20D
00001CE6 0215 0060 andi.b [A5], 0x60 /* '`' */
00001CEA 0261 0058 andi.w -[A1], 0x58 /* 'X' */
00001CEE 0267 005A andi.w -[A7], 0x5A /* 'Z' */
00001CF2 0269 0074 026D andi.w [A1 + 0x26D], 0x74 /* 't' */
00001CF8 0070 0271 005A ori.w [A0 + D0.w + 0x5A], 0x271
00001CFE 0415 0058 subi.b [A5], 0x58 /* 'X' */
00001D02 0421 0074 subi.b -[A1], 0x74 /* 't' */
00001D06 0425 0058 subi.b -[A5], 0x58 /* 'X' */
00001D0A 042D 0060 0033 subi.b [A5 + 0x33], 0x60 /* '`' */
00001D10 0058 0039 ori.w [A0]+, 0x39 /* '9' */
00001D14 005A 003B ori.w [A2]+, 0x3B /* ';' */
00001D18 0074 003F 0070 ori.w [A4 + D0.w + 0x70], 0x3F /* '?' */
00001D1E 0043 005A ori.w D3, 0x5A /* 'Z' */
00001D22 00E7 .incomplete
00001D24 0056 012F ori.w [A6], 0x12F
00001D28 0059 016B ori.w [A1]+, 0x16B
00001D2C 0059 01B7 ori.w [A1]+, 0x1B7
00001D30 0070 01FD 0058 ori.w [A0 + D0.w + 0x58], 0x1FD
00001D36 0209 0074 andi.b A1, 0x74 /* 't' */
00001D3A 020D 0058 andi.b A5, 0x58 /* 'X' */
00001D3E 0215 0060 andi.b [A5], 0x60 /* '`' */
00001D42 0261 0058 andi.w -[A1], 0x58 /* 'X' */
00001D46 0267 005A andi.w -[A7], 0x5A /* 'Z' */
00001D4A 0269 0074 026D andi.w [A1 + 0x26D], 0x74 /* 't' */
00001D50 0070 0271 005A ori.w [A0 + D0.w + 0x5A], 0x271
00001D56 02F1 .incomplete
00001D58 0056 0415 ori.w [A6], 0x415
00001D5C 0058 0421 ori.w [A0]+, 0x421
00001D60 0074 0425 0058 ori.w [A4 + D0.w + 0x58], 0x425
00001D66 042D 0060 4E56 subi.b [A5 + 0x4E56], 0x60 /* '`' */
00001D6C 0000 48E7 ori.b D0, 0xE7
00001D70 0308 btst A0, D1
00001D72 3C2E 0012 move.w D6, [A6 + 0x12]
00001D76 286E 0008 movea.l A4, [A6 + 0x8]
00001D7A 7000 moveq.l D0, 0x00
00001D7C 302E 000E move.w D0, [A6 + 0xE]
00001D80 7202 moveq.l D1, 0x02
00001D82 B280 cmp.l D1, D0
00001D84 6604 bne +0x6 /* 00001D8A */
00001D86 7E01 moveq.l D7, 0x01
00001D88 6018 bra +0x1A /* 00001DA2 */
label00001D8A:
00001D8A 4247 clr.w D7
00001D8C 7003 moveq.l D0, 0x03
00001D8E C06C 0540 and.w D0, [A4 + 0x540]
00001D92 7200 moveq.l D1, 0x00
00001D94 3200 move.w D1, D0
00001D96 7001 moveq.l D0, 0x01
00001D98 B081 cmp.l D0, D1
00001D9A 6706 beq +0x8 /* 00001DA2 */
00001D9C 7E03 moveq.l D7, 0x03
00001D9E CE6C 0540 and.w D7, [A4 + 0x540]
label00001DA2:
00001DA2 7004 moveq.l D0, 0x04
00001DA4 C06C 0540 and.w D0, [A4 + 0x540]
00001DA8 8E40 or.w D7, D0
00001DAA 0CAE 0001 0000 0014 cmpi.l [A6 + 0x14], 0x10000
00001DB2 6604 bne +0x6 /* 00001DB8 */
00001DB4 0047 0008 ori.w D7, 0x8
label00001DB8:
00001DB8 7000 moveq.l D0, 0x00
00001DBA 3006 move.w D0, D6
00001DBC 0C40 0200 cmpi.w D0, 0x200
00001DC0 640A bcc +0xC /* 00001DCC */
00001DC2 7000 moveq.l D0, 0x00
00001DC4 3006 move.w D0, D6
00001DC6 E188 lsl D0, 8
00001DC8 8E40 or.w D7, D0
00001DCA 600E bra +0x10 /* 00001DDA */
label00001DCC:
00001DCC 7000 moveq.l D0, 0x00
00001DCE 3006 move.w D0, D6
00001DD0 90BC 0000 01C0 sub.l D0, 0x1C0
00001DD6 E188 lsl D0, 8
00001DD8 8E40 or.w D7, D0
label00001DDA:
00001DDA 3947 011A move.w [A4 + 0x11A], D7
00001DDE 4EBA FD78 jsr [PC - 0x288 /* 00001B58 */]
00001DE2 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00001DE8 4E5E unlink A6
00001DEA 4E75 rts
00001DEC 4E56 0000 link A6, 0
00001DF0 48E7 0308 movem.l -[A7], D6,D7,A4
00001DF4 3C2E 0012 move.w D6, [A6 + 0x12]
00001DF8 286E 0008 movea.l A4, [A6 + 0x8]
00001DFC 7000 moveq.l D0, 0x00
00001DFE 302E 000E move.w D0, [A6 + 0xE]
00001E02 7202 moveq.l D1, 0x02
00001E04 B280 cmp.l D1, D0
00001E06 6604 bne +0x6 /* 00001E0C */
00001E08 7E01 moveq.l D7, 0x01
00001E0A 6018 bra +0x1A /* 00001E24 */
label00001E0C:
00001E0C 4247 clr.w D7
00001E0E 7003 moveq.l D0, 0x03
00001E10 C06C 0540 and.w D0, [A4 + 0x540]
00001E14 7200 moveq.l D1, 0x00
00001E16 3200 move.w D1, D0
00001E18 7001 moveq.l D0, 0x01
00001E1A B081 cmp.l D0, D1
00001E1C 6706 beq +0x8 /* 00001E24 */
00001E1E 7E03 moveq.l D7, 0x03
00001E20 CE6C 0540 and.w D7, [A4 + 0x540]
label00001E24:
00001E24 7004 moveq.l D0, 0x04
00001E26 C06C 0540 and.w D0, [A4 + 0x540]
00001E2A 8E40 or.w D7, D0
00001E2C 0CAE 0001 0000 0014 cmpi.l [A6 + 0x14], 0x10000
00001E34 6604 bne +0x6 /* 00001E3A */
00001E36 0047 0008 ori.w D7, 0x8
label00001E3A:
00001E3A 7000 moveq.l D0, 0x00
00001E3C 3006 move.w D0, D6
00001E3E 0C40 0200 cmpi.w D0, 0x200
00001E42 640A bcc +0xC /* 00001E4E */
00001E44 7000 moveq.l D0, 0x00
00001E46 3006 move.w D0, D6
00001E48 E188 lsl D0, 8
00001E4A 8E40 or.w D7, D0
00001E4C 600E bra +0x10 /* 00001E5C */
label00001E4E:
00001E4E 7000 moveq.l D0, 0x00
00001E50 3006 move.w D0, D6
00001E52 90BC 0000 01C0 sub.l D0, 0x1C0
00001E58 E188 lsl D0, 8
00001E5A 8E40 or.w D7, D0
label00001E5C:
00001E5C 3947 011A move.w [A4 + 0x11A], D7
00001E60 48C7 ext.l D7
00001E62 2F07 move.l -[A7], D7
00001E64 4EBA FDA0 jsr [PC - 0x260 /* 00001C06 */]
00001E68 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00001E6E 4E5E unlink A6
00001E70 4E75 rts
00001E72 436F 7079 chk.w D1, [A7 + 0x7079]
00001E76 7269 moveq.l D1, 0x69
00001E78 6768 beq +0x6A /* 00001EE2 */
00001E7A 7420 moveq.l D2, 0x20
00001E7C A920 syscall BringToFront
00001E7E 3139 3930 2046 move.w -[A0], [0x39302046]
00001E84 6172 bsr +0x74 /* 00001EF8 */
00001E86 616C bsr +0x6E /* 00001EF4 */
00001E88 6C6F bge +0x71 /* 00001EF9 */
00001E8A 6E20 bgt +0x22 /* 00001EAC */
00001E8C 436F 6D70 chk.w D1, [A7 + 0x6D70]
00001E90 7574 moveq.l D2, 0x74
00001E92 696E bvs +0x70 /* 00001F02 */
00001E94 672C beq +0x2E /* 00001EC2 */
00001E96 2049 movea.l A0, A1
00001E98 6E63 bgt +0x65 /* 00001EFD */
00001E9A 2E00 move.l D7, D0